Platform
Any
Operating system version
Any
System architecture
Any
Herd Version
Any
PHP Version
No response
Bug description
Any page that uses $_SERVER['PATH_INFO] does not work under Herd because the startup scripts looks for the wrong file name and any path info added after the script marks the page as a Page Not Found
I would expect the PATH_INFO content to be added to the path of the launched page.
Steps to reproduce
Create a test page test.php
<?php
echo $_SERVER['PATH_INFO'];
And launch it as test.php/PATH/INFO/GOES/HERE?param=123
Expected result: PATH/INFO/GOES/HERE printed to page, this is what is printed on any web server (some don't pass the PATH_INFO but it can be obtained).
Obtained result: blank page / page not found. Herd / Valet incorrectly looks for existance of the file test.php/PATH/INFO/GOES/HERE
Relevant log output
Platform
Any
Operating system version
Any
System architecture
Any
Herd Version
Any
PHP Version
No response
Bug description
Any page that uses $_SERVER['PATH_INFO] does not work under Herd because the startup scripts looks for the wrong file name and any path info added after the script marks the page as a Page Not Found
I would expect the PATH_INFO content to be added to the path of the launched page.
Steps to reproduce
Create a test page test.php
And launch it as
test.php/PATH/INFO/GOES/HERE?param=123Expected result:
PATH/INFO/GOES/HEREprinted to page, this is what is printed on any web server (some don't pass the PATH_INFO but it can be obtained).Obtained result: blank page / page not found. Herd / Valet incorrectly looks for existance of the file test.php/PATH/INFO/GOES/HERE
Relevant log output