fix: set $_SERVER variables: 'SCRIPT_NAME', 'PHP_SELF', and 'PATH_INFO' #2317
fix $_SERVER['SCRIPT_NAME'] and $_SERVER['PHP_SELF'] in php_server wo…
708b2336
henderkes
marked this pull request as ready for review 12 days ago
-failfast for tests, so we can actually see what failed
1935dc9f
henderkes
marked this pull request as draft 12 days ago
fix pathInfo being empty
1eb691d8
henderkes
changed the title fix $_SERVER['SCRIPT_NAME'] and $_SERVER['PHP_SELF'] in php_server workers fix $_SERVER['SCRIPT_NAME'], 'PHP_SELF', and 'PATH_INFO' 12 days ago
henderkes
marked this pull request as ready for review 12 days ago
add tests (worker and non-worker separately because the global worker…
3708b41b
fix on windows
2a32861c
use existing ensureLeadingSlash function to
652322b0
test for match * worker
fd6595e3
@AlliBalliBaba suggestion, empty out script_name if it's not in serve…
b8a981d9
henderkes
changed the title fix $_SERVER['SCRIPT_NAME'], 'PHP_SELF', and 'PATH_INFO' fix: set $_SERVER variables: 'SCRIPT_NAME', 'PHP_SELF', and 'PATH_INFO' 9 days ago
Apply suggestions from code review
91a69681
Merge branch 'main' into fix/script_name
0a294aca
dunglas
approved these changes
on 2026-03-27
safety check for separator, in case someone uses matchers
b632a5ee
Update caddy/caddy_test.go
c5481d00
Update caddy/caddy_test.go
6fc5c153
use gotestsum for tests (shows all failed test outputs only)
7375dcee
use gotestsum for other tests too (except fuzz test)
2dc72701
Merge branch 'main' into fix/script_name
44519f51
fix "Set Set CGO flags"
5f9c77f9
reset CI test changes, refactor out to next PR
786b6be4
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub