Skip to content

FPM with httpd ProxyPass does not save decode path info to PATH_INFO env #17643

@bukka

Description

@bukka

Description

This makes ProxyPass and ProxyPassMatch quite inconsistent from SetHandler as well as usual nginx setup where PATH_INFO is decoded. I fixed it for removing path info from the script name so we are already decoding it for this case but somehow the actual PATH_INFO is not decode which is really omision of that fix.

If index.php is:

<?php
echo $_SERVER['PATH_INFO'];

Then something like this happens:

curl 'http://localhost:8521/index.php/アダプタ.php'
/%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF.php

The expectation and the usual result is /アダプタ.php.

PHP Version

PHP 8.3+

Operating System

Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions