diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-12-26 17:25:35 +0100 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-12-26 17:25:35 +0100 |
commit | a29738212841dcb699dc397ad66c3416324eccf8 (patch) | |
tree | 3a28a9730f33461a34198c0c3ff50e7c73e04051 /browse.c | |
parent | 69208140ddc9faa4e607cacefab6cae9badeaa7c (diff) |
remove check_request_path because we have unveil
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) { |