#44105 [NEW]: $_SERVER['REDIRECT_URL'] content changed

From: Date: Tue, 12 Feb 2008 13:19:21 +0000
Subject: #44105 [NEW]: $_SERVER['REDIRECT_URL'] content changed
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-509@lists.php.net to get a copy of this message
From: michaells at cytainment dot de Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: $_SERVER['REDIRECT_URL'] content changed Description: ------------ Since version 5.2.5 the value of $_SERVER['REDIRECT_URL'] contained the absolute path requested (without protocol, host and domain). E.g. working with .htaccess setting ErrorDocument 404 to index.php and checking in the PHP-script, how to handle nonexisting call ( if( preg_match('/vcard\.html$/',$_SERVER['REDIRECT_URL']))...) worked fluently. Since 5.2.5 the content of this key is now the absolute path of the script redirected to. Maybe behaviour changed as wanted, but for sure, it's not documented. -- Edit bug report at http://bugs.php.net/?id=44105&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44105&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44105&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44105&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44105&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44105&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44105&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44105&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44105&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44105&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44105&r=support Expected behavior: http://bugs.php.net/fix.php?id=44105&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44105&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44105&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44105&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44105&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=44105&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44105&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44105&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44105&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44105&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44105&r=mysqlcfg

« previous php.doc.bugs (#509) next »