summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-12-26 17:25:35 +0100
committerVincent Douillet <vincent@vdouillet.fr>2024-12-26 17:25:35 +0100
commita29738212841dcb699dc397ad66c3416324eccf8 (patch)
tree3a28a9730f33461a34198c0c3ff50e7c73e04051 /url.h
parent69208140ddc9faa4e607cacefab6cae9badeaa7c (diff)
remove check_request_path because we have unveil
Diffstat (limited to 'url.h')
-rw-r--r--url.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/url.h b/url.h
index d1d638b..a962785 100644
--- a/url.h
+++ b/url.h
@@ -34,14 +34,6 @@
#include <stdbool.h>
/*
- * Checks that the path can be safely processed. Namely, it should not contain
- * "..", which denotes an attempt to get out of the DATA_DIR root folder.
- * The path is required.
- * The suffix is required but can be an empty string
- */
-bool
-check_request_path(const char *, const char *);
-/*
* Encode a string to use in an HTTP context.
* Returns NULL in case of error, or the encoded string in case of success.
*/