From a29738212841dcb699dc397ad66c3416324eccf8 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Thu, 26 Dec 2024 17:25:35 +0100 Subject: remove check_request_path because we have unveil --- url.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'url.h') diff --git a/url.h b/url.h index d1d638b..a962785 100644 --- a/url.h +++ b/url.h @@ -33,14 +33,6 @@ #include -/* - * 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. -- cgit v1.2.3