Searched refs:decoded_path (Results 1 – 1 of 1) sorted by relevance
157 char *decoded_path; in send_document_cb() local183 decoded_path = evhttp_uridecode(path, 0, NULL); in send_document_cb()184 if (decoded_path == NULL) in send_document_cb()190 if (strstr(decoded_path, "..")) in send_document_cb()193 len = strlen(decoded_path)+strlen(docroot)+2; in send_document_cb()198 evutil_snprintf(whole_path, len, "%s/%s", docroot, decoded_path); in send_document_cb()247 decoded_path, /* XXX html-escape this. */ in send_document_cb()250 decoded_path /* XXX html-escape this */); in send_document_cb()277 const char *type = guess_content_type(decoded_path); in send_document_cb()303 if (decoded_path) in send_document_cb()[all …]