#27561 [NEW]: header("Location:.....");

From: Date: Thu, 11 Mar 2004 05:27:32 +0000
Subject: #27561 [NEW]: header("Location:.....");
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56278@lists.php.net to get a copy of this message
From: ignatius at act28 dot com Operating system: WinXP PHP version: 4.3.4 PHP Bug Type: *General Issues Bug description: header("Location:....."); Description: ------------ Why can't I do this: header("Location: http://user:pass@myserver.com"); NS7 will redirect happily, but displays the user:pass in clear in the address bar and changes all the in-page links to match the address bar url. IE will not play the game at all. Reproduce code: --------------- header("Location: http://user:pass@myserver.com"); Expected result: ---------------- Browser redirects to http://myserver.com and authentication is passed across to the basic auth relam. Actual result: -------------- As described above -- Edit bug report at http://bugs.php.net/?id=27561&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27561&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27561&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27561&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27561&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27561&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27561&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27561&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27561&r=support Expected behavior: http://bugs.php.net/fix.php?id=27561&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27561&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27561&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27561&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27561&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27561&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27561&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27561&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27561&r=float

« previous php.bugs (#56278) next »