aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tool_urlglob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index 39cb32d6c..f1dd27fad 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -673,7 +673,8 @@ CURLcode glob_match_url(char **result, char *filename, URLGlob *glob)
{
char *sanitized;
SANITIZEcode sc = sanitize_file_name(&sanitized, target,
- SANITIZE_ALLOW_PATH);
+ (SANITIZE_ALLOW_PATH |
+ SANITIZE_ALLOW_RESERVED));
Curl_safefree(target);
if(sc)
return CURLE_URL_MALFORMAT;