You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lighttpd1.4/tests
Glenn Strauss 57ab20ace5 [mod_cgi] cgi.local-redir = [enable|disable] (#2108, #2793)
new directive cgi.local-redir = [enable|disable]

*disable* RFC3875 6.2.2 local-redir by default.
(behavior change from when local-redir support added in lighttpd 1.4.40)

The reason for this behavior change is that CGI local-redir support
(RFC3875 6.2.2) is an optimization.  Absence of support may result in
additional latency in servicing a request due the additional round-trip
to the client, but that was the prior behavior (before lighttpd 1.4.40)
and is the behavior of web servers which do not support CGI local-redir.

However, enabling CGI local-redir by default may result in broken links
in the case where a user config (unaware of CGI local-redir behavior)
returns HTML pages containing *relative* paths (not root-relative paths)
which are relative to the location of the local-redir target document,
and the local-redir target document is located at a different URL-path
from the original CGI request.

x-ref:
  RFC3875 CGI 1.1 specification section 6.2.2 Local Redirect Response
  http://www.ietf.org/rfc/rfc3875
  "CGI local redirect not implemented correctly"
  https://redmine.lighttpd.net/issues/2108
  "1.4.40 regression: broken redirect (using Location) between url.rewrite-once URLs"
  https://redmine.lighttpd.net/issues/2793
6 years ago
..
docroot [tests] remove unused file depending on CGI.pm 6 years ago
404-handler.conf [core] server.error-handler new directive for error pages (fixes #2702) 7 years ago
CMakeLists.txt [mod_scgi] tests/mod-scgi.t unit tests 6 years ago
LightyTest.pm [core] better DragonFlyBSD support (fixes #2746) 7 years ago
Makefile.am [mod_scgi] tests/mod-scgi.t unit tests 6 years ago
SConscript [mod_scgi] tests/mod-scgi.t unit tests 6 years ago
bug-06.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
bug-12.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
cachable.t parse If-None-Match for ETag validation (fixes #2578) 8 years ago
cleanup.sh [scons] various improvements 8 years ago
condition.conf [core] never evaluate else branches until the previous branches are aready (fixes #2598) 7 years ago
core-404-handler.t [core] server.error-handler new directive for error pages (fixes #2702) 7 years ago
core-condition.t [core] never evaluate else branches until the previous branches are aready (fixes #2598) 7 years ago
core-keepalive.t - change s/// separator that it doesn't confuse vim 15 years ago
core-request.t fix SQL injection / host name validation (thx Jann Horn) 9 years ago
core-response.t [core] encode path with ENCODING_REL_URI in redirect to directory (fixes #2661, thx gstrauss) 7 years ago
core-var-include.t - change s/// separator that it doesn't confuse vim 15 years ago
core.t - change s/// separator that it doesn't confuse vim 15 years ago
fastcgi-10.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
fastcgi-13.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
fastcgi-auth.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
fastcgi-responder.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
fcgi-auth.c [tests] test coverage for issues (#321, #322) 7 years ago
fcgi-responder.c [tests] FCGI_Finish() final request before exit 6 years ago
lighttpd.conf [mod_cgi] cgi.local-redir = [enable|disable] (#2108, #2793) 6 years ago
lighttpd.htpasswd [mod_auth] skip blank lines and comment lines (fixes #2327) 7 years ago
lighttpd.user moved everything below trunk/ and added branches/ and tags/ 18 years ago
lowercase.conf load mod_auth & mod_authn_file in sample/test.conf 6 years ago
lowercase.t - change s/// separator that it doesn't confuse vim 15 years ago
mod-access.t [mod_access] new directive url.access-allow (fixes #1421) 7 years ago
mod-auth.t [mod_auth] structured data, register auth schemes 7 years ago
mod-cgi.t [mod_cgi] handle local redirect response (fixes #2108) 7 years ago
mod-compress.conf [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
mod-compress.t mod_compress: match partial+full content-type (fixes #1552) 14 years ago
mod-evhost.conf [mod_evhost] mod-evhost.t tests (#1194) 7 years ago
mod-evhost.t [mod_evhost] fix an incorrect error trace 6 years ago
mod-extforward.conf [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
mod-extforward.t - support chained proxies in mod_extforward (#1528) 15 years ago
mod-fastcgi.t [tests] give time for periodic jobs to detect exit 6 years ago
mod-proxy.t [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
mod-redirect.t - change s/// separator that it doesn't confuse vim 15 years ago
mod-rewrite.t [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
mod-scgi.t [tests] correct skip count for mod-scgi.t 6 years ago
mod-secdownload.t [mod_secdownload] new directives modify hash path (fixes #646, fixes #1904) 6 years ago
mod-setenv.t [mod_setenv] directives to overwrite/remove hdrs (fixes #650, fixes #2295) 6 years ago
mod-simplevhost.conf [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
mod-simplevhost.t [tests] add mod_simplevhost tests 10 years ago
mod-ssi.t [mod_ssi] more flexible quoting (fixes #1768) 7 years ago
mod-userdir.t [mod_user] add test cases to check handling of encoded ~ as %7E (#2124) 10 years ago
prepare.sh [mod_evhost] mod-evhost.t tests (#1194) 7 years ago
proxy.conf comment out auth.backend.ldap.* in tests/*.conf 6 years ago
request.t [core] support Expect: 100-continue with HTTP/1.1 (fixes #377, #1017, #1953, #2438) 6 years ago
run-tests.pl Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105) 14 years ago
scgi-responder.c [mod_scgi] tests/mod-scgi.t unit tests 6 years ago
scgi-responder.conf [mod_scgi] tests/mod-scgi.t unit tests 6 years ago
symlink.t mark testcase executable 15 years ago
var-include-sub.conf [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
var-include.conf [tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups 8 years ago
wrapper.sh Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jpg as static file 12 years ago