Skip to content

fix(caddy): reject invalid split_path at provision time#2350

Merged
alexandre-daubois merged 1 commit intophp:mainfrom
alexandre-daubois:fix-caddy-split-path-panic
Apr 17, 2026
Merged

fix(caddy): reject invalid split_path at provision time#2350
alexandre-daubois merged 1 commit intophp:mainfrom
alexandre-daubois:fix-caddy-split-path-panic

Conversation

@alexandre-daubois
Copy link
Copy Markdown
Member

A non-ASCII split_path caused WithRequestSplitPath's error to be swallowed and a nil RequestOption to be stored, panicking on the first request. The fix propagates the error from Provision, rejecting the config at startup with a clear message.

@alexandre-daubois alexandre-daubois merged commit 5c37cd3 into php:main Apr 17, 2026
12 checks passed
@alexandre-daubois alexandre-daubois deleted the fix-caddy-split-path-panic branch April 17, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants