summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-01-23 09:22:00 +0100
committerVincent Douillet <vincent@vdouillet.fr>2024-02-08 09:27:54 +0100
commit42f538cc66546997a166dbe67e489c9afabbb908 (patch)
tree718bb6b7161892c4b964499c1818c6d7bf0bd6a6 /url.h
parent760031b4a74d70bdeaab4ce9aedfe772acd05bd3 (diff)
download files
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.