Searched refs:decoded_path (Results 1 – 2 of 2) sorted by relevance
189 char *decoded_path; in send_document_cb() local215 decoded_path = evhttp_uridecode(path, 0, NULL); in send_document_cb()216 if (decoded_path == NULL) in send_document_cb()222 if (strstr(decoded_path, "..")) in send_document_cb()225 len = strlen(decoded_path)+strlen(o->docroot)+2; in send_document_cb()230 evutil_snprintf(whole_path, len, "%s/%s", o->docroot, decoded_path); in send_document_cb()282 decoded_path, /* XXX html-escape this. */ in send_document_cb()285 decoded_path /* XXX html-escape this */); in send_document_cb()312 const char *type = guess_content_type(decoded_path); in send_document_cb()338 if (decoded_path) in send_document_cb()[all …]
236 decoded_path = os.path.abspath(os.fsdecode(fname))237 with io.open_code(decoded_path) as f:241 with io.open_code(decoded_path) as f: