Searched refs:decoded_path (Results 1 – 1 of 1) sorted by relevance
166 char *decoded_path; in send_document_cb() local192 decoded_path = evhttp_uridecode(path, 0, NULL); in send_document_cb()193 if (decoded_path == NULL) in send_document_cb()199 if (strstr(decoded_path, "..")) in send_document_cb()202 len = strlen(decoded_path)+strlen(docroot)+2; in send_document_cb()207 evutil_snprintf(whole_path, len, "%s/%s", docroot, decoded_path); in send_document_cb()259 decoded_path, /* XXX html-escape this. */ in send_document_cb()262 decoded_path /* XXX html-escape this */); in send_document_cb()289 const char *type = guess_content_type(decoded_path); in send_document_cb()315 if (decoded_path) in send_document_cb()[all …]