diff options
Diffstat (limited to 'browse.c')
-rw-r--r-- | browse.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -294,14 +294,6 @@ browse(struct kreq * r) KHTTP_200, "" }; - /* check that the requested URL can be safely processed */ - if (!check_request_path(r->path, r->suffix)) { - ret = (struct http_ret) { - KHTTP_400, - "browse: Invalid request path" - }; - goto end; - } /* list requested directory content */ file = file_new(r->path); if (file == NULL) { |