Searched refs:SANITIZE_ALLOW_PATH (Results 1 – 4 of 4) sorted by relevance
/curl/tests/unit/ |
H A D | unit1604.c | 52 ((flags & SANITIZE_ALLOW_PATH) ? in getflagstr() 100 { "f:foo", SANITIZE_ALLOW_PATH, 106 { "f:\\foo", SANITIZE_ALLOW_PATH, 112 { "f:/foo", SANITIZE_ALLOW_PATH, 116 { "\\\\?\\C:\\foo", SANITIZE_ALLOW_PATH, 156 { "f:\\com1", SANITIZE_ALLOW_PATH, 162 { "f:\\com1", SANITIZE_ALLOW_RESERVED | SANITIZE_ALLOW_PATH, 165 { "com1:\\com1", SANITIZE_ALLOW_PATH, 175 { "\\com1", SANITIZE_ALLOW_PATH, 178 { "\\\\com1", SANITIZE_ALLOW_PATH, [all …]
|
/curl/src/ |
H A D | tool_doswin.c | 119 if(flags & SANITIZE_ALLOW_PATH) { in sanitize_file_name() 143 if((flags & SANITIZE_ALLOW_PATH) && !strncmp(target, "\\\\?\\", 4)) in sanitize_file_name() 155 (!(flags & SANITIZE_ALLOW_PATH) && *p == ':') || in sanitize_file_name() 156 (!(flags & SANITIZE_ALLOW_PATH) && (*p == '/' || *p == '\\'))) { in sanitize_file_name() 170 if(!(flags & SANITIZE_ALLOW_PATH) && len) { in sanitize_file_name() 328 *d = ((flags & SANITIZE_ALLOW_PATH)) ? ':' : '_'; in msdosify() 335 if((flags & SANITIZE_ALLOW_PATH) && *s == ':') in msdosify() 337 else if((flags & SANITIZE_ALLOW_PATH) && (*s == '/' || *s == '\\')) in msdosify() 345 if((flags & SANITIZE_ALLOW_PATH) && idx == 0 && in msdosify() 460 if((flags & SANITIZE_ALLOW_PATH) && in rename_if_reserved_dos() [all …]
|
H A D | tool_doswin.h | 30 #define SANITIZE_ALLOW_PATH (1<<1) /* Allow path separators and colons */ macro
|
H A D | tool_urlglob.c | 709 (SANITIZE_ALLOW_PATH | in glob_match_url()
|
Completed in 18 milliseconds