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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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 May 18 00:01:33 2024 UTC