Home
last modified time | relevance | path

Searched refs:pathinfo (Results 1 – 10 of 10) sorted by relevance

/lighttpd1.4/src/
H A Dresponse.c243 char *pathinfo; in http_response_physical_path_check() local
249 if ('/' != *pathinfo) { in http_response_physical_path_check()
250 pathinfo = NULL; in http_response_physical_path_check()
253 pathinfo = strchr(pathinfo+1, '/'); in http_response_physical_path_check()
258 for (char *pprev = pathinfo; pathinfo; pprev = pathinfo, pathinfo = strchr(pathinfo+1, '/')) { in http_response_physical_path_check()
261 *pathinfo = '\0'; in http_response_physical_path_check()
263 *pathinfo = '/'; in http_response_physical_path_check()
266 pathinfo = pathinfo != pprev ? pprev : NULL; in http_response_physical_path_check()
281 if (pathinfo) { in http_response_physical_path_check()
292 buffer_copy_string_len(&r->pathinfo, pathinfo, len); in http_response_physical_path_check()
[all …]
H A Dhttp_cgi.c68 buffer_clear(&r->pathinfo); in http_cgi_local_redir()
173 if (!buffer_is_blank(&r->pathinfo)) { in http_cgi_headers()
175 BUF_PTR_LEN(&r->pathinfo)); in http_cgi_headers()
183 BUF_PTR_LEN(&r->pathinfo)); in http_cgi_headers()
213 BUF_PTR_LEN(&r->pathinfo)); in http_cgi_headers()
H A Dreqpool.c120 buffer_clear(&r->pathinfo); in request_reset()
129 buffer_reset(&r->pathinfo); in request_reset()
197 buffer_reset(&r->pathinfo); /*(see comments in request_reset())*/ in request_reset_ex()
227 free(r->pathinfo.ptr); in request_free_data()
H A Dmod_staticfile.c113 if (pconf->disable_pathinfo && !buffer_is_blank(&r->pathinfo)) { in mod_staticfile_process()
H A Drequest.h166 buffer pathinfo; member
H A Dgw_backend.c2617 const char *pathinfo; in gw_check_extension() local
2619 buffer_copy_buffer(&r->pathinfo, &r->uri.path); in gw_check_extension()
2623 && (pathinfo = strchr(r->uri.path.ptr+elen, '/'))) { in gw_check_extension()
2625 const uint32_t plen = r->uri.path.ptr + s_len - pathinfo; in gw_check_extension()
2626 buffer_copy_string_len(&r->pathinfo, pathinfo, plen); in gw_check_extension()
H A Dh2.c2985 r->pathinfo = h2r->pathinfo; /* copy struct */ in h2_con_upgrade_h2c()
2991 memset(&h2r->pathinfo, 0, sizeof(buffer)); in h2_con_upgrade_h2c()
H A Dmod_magnet.c1968 case MAGNET_ENV_REQUEST_PATH_INFO: dest = &r->pathinfo; break; in magnet_env_get_buffer_by_id()
/lighttpd1.4/src/t/
H A Dtest_mod_staticfile.c340 buffer_copy_string_len(&r->pathinfo, CONST_STR_LEN("/pathinfo")); in test_mod_staticfile_process()
348 buffer_clear(&r->pathinfo); in test_mod_staticfile_process()
426 free(r.pathinfo.ptr); in test_mod_staticfile()
/lighttpd1.4/
H A DNEWS3072 …* Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jp…
3292 …* Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for …
3415 * check for symlinks after successful pathinfo matching (#1574)
3887 * fixed mod_alias + pathinfo