php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27561 header("Location:.....");
Submitted: 2004-03-11 00:27 UTC Modified: 2004-03-11 02:16 UTC
From: ignatius at act28 dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.4 OS: WinXP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ignatius at act28 dot com
New email:
PHP Version: OS:

 

 [2004-03-11 00:27 UTC] ignatius at act28 dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-11 02:16 UTC] alan_k@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Blame microsoft! - they have disabled this by default in the latest update to IE.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 11:01:28 2024 UTC