diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-01-23 09:22:00 +0100 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-02-08 09:27:54 +0100 |
commit | 42f538cc66546997a166dbe67e489c9afabbb908 (patch) | |
tree | 718bb6b7161892c4b964499c1818c6d7bf0bd6a6 /url.h | |
parent | 760031b4a74d70bdeaab4ce9aedfe772acd05bd3 (diff) |
download files
Diffstat (limited to 'url.h')
-rw-r--r-- | url.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |