Lines Matching refs:decoded_path
189 char *decoded_path; in send_document_cb() local
215 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()
339 free(decoded_path); in send_document_cb()