Lines Matching refs:decoded_path
190 char *decoded_path; in send_document_cb() local
216 decoded_path = evhttp_uridecode(path, 0, NULL); in send_document_cb()
217 if (decoded_path == NULL) in send_document_cb()
223 if (strstr(decoded_path, "..")) in send_document_cb()
226 len = strlen(decoded_path)+strlen(o->docroot)+2; in send_document_cb()
231 evutil_snprintf(whole_path, len, "%s/%s", o->docroot, decoded_path); in send_document_cb()
283 decoded_path, /* XXX html-escape this. */ in send_document_cb()
286 decoded_path /* XXX html-escape this */); in send_document_cb()
313 const char *type = guess_content_type(decoded_path); in send_document_cb()
339 if (decoded_path) in send_document_cb()
340 free(decoded_path); in send_document_cb()