Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 1 of 1) sorted by relevance

/curl/lib/
H A Dcookie.c285 char *new_path = strdup(cookie_path); in sanitize_cookie_path() local
286 if(!new_path) in sanitize_cookie_path()
290 len = strlen(new_path); in sanitize_cookie_path()
291 if(new_path[0] == '\"') { in sanitize_cookie_path()
292 memmove(new_path, new_path + 1, len); in sanitize_cookie_path()
296 new_path[--len] = 0x0; in sanitize_cookie_path()
300 if(new_path[0] != '/') { in sanitize_cookie_path()
302 strstore(&new_path, "/", 1); in sanitize_cookie_path()
303 return new_path; in sanitize_cookie_path()
308 new_path[len - 1] = 0x0; in sanitize_cookie_path()
[all …]

Completed in 13 milliseconds