Lines Matching refs:uri_path
153 char* uri_path = NULL; in pathmatch() local
164 uri_path = strdup(request_uri); in pathmatch()
165 if(!uri_path) in pathmatch()
167 pos = strchr(uri_path, '?'); in pathmatch()
172 if(0 == strlen(uri_path) || uri_path[0] != '/') { in pathmatch()
173 free(uri_path); in pathmatch()
174 uri_path = strdup("/"); in pathmatch()
175 if(!uri_path) in pathmatch()
188 uri_path_len = strlen(uri_path); in pathmatch()
196 if(strncmp(cookie_path, uri_path, cookie_path_len)) { in pathmatch()
208 if(uri_path[cookie_path_len] == '/') { in pathmatch()
216 free(uri_path); in pathmatch()