summaryrefslogtreecommitdiff
path: root/browse.c
diff options
context:
space:
mode:
Diffstat (limited to 'browse.c')
-rw-r--r--browse.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/browse.c b/browse.c
index 6cd0fd6..a230fe0 100644
--- a/browse.c
+++ b/browse.c
@@ -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) {