History log of /PHP-8.2/sapi/fpm/tests/fcgi-env-pif-apache-pp-sn-strip-encoded.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 0d4d4718 12-Mar-2023 Jakub Zelenka

Fix bug #74129: Incorrect SCRIPT_NAME with apache ProxyPassMatch

This happens when there are spaces are in the path info. The reason is
that Apache decodes the path info part in the SCRI

Fix bug #74129: Incorrect SCRIPT_NAME with apache ProxyPassMatch

This happens when there are spaces are in the path info. The reason is
that Apache decodes the path info part in the SCRIPT_NAME as per CGI
RFC. FPM tries to strip path info from the SCRIPT_NAME but the
comparison is done against SCRIPT_FILENAME which is not decoded. For
that to work we have to decode it before comparison if there is any
encoded character.

Closes GH-10869

show more ...