Skip to content

Fix bug #74129: Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path - #10869

Closed
bukka wants to merge 1 commit into
php:PHP-8.1from
bukka:fpm_fcgi_envs_ap_pp_sn_strip_enc
Closed

bukka wants to merge 1 commit into
php:PHP-8.1from
bukka:fpm_fcgi_envs_ap_pp_sn_strip_enc

Conversation

@bukka

@bukka bukka commented Mar 17, 2023

Copy link
Copy Markdown
Member

As described in the pull request, this is caused by the fact that Apache URL decodes path info in the SCRIPT_NAME because it is required in CGI RFC.

@bukka
bukka changed the base branch from master to PHP-8.1 March 17, 2023 14:59
@bukka
bukka force-pushed the fpm_fcgi_envs_ap_pp_sn_strip_enc branch from b29b0c4 to f8a4e92 Compare March 17, 2023 14:59

@Girgias Girgias left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor type nits.

Can't really comment on the rest, but I'm expecting this works and is tested properly.

Comment thread sapi/fpm/fpm/fpm_main.c Resolved
Comment thread sapi/fpm/fpm/fpm_main.c Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants