summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'url.h')
-rw-r--r--url.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/url.h b/url.h
index 63e487e..cd52a3e 100644
--- a/url.h
+++ b/url.h
@@ -38,9 +38,10 @@
* 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(char *);
+check_request_path(char *, char *);
/*
* Build an URL from the provided components.