|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-24 18:37 UTC] sniper@php.net
[2005-03-30 12:01 UTC] jpaszek at bnet dot pl
[2005-03-30 23:57 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ Problem with reading Environment Variable SCRIPT_NAME and PATH_INFO as well. It doesn't give the real script name for requests with added slashes e.g. for the request: http://host.com/info.php/////TEST result is: info.php/// Reproduce code: --------------- GET https://edokumenty.beta/info.php/////TEST print $_SERVER['SCRIPT_NAME']; Expected result: ---------------- info.php Actual result: -------------- /info.php///