Closed
Bug 69722
Opened 24 years ago
Closed 24 years ago
bad redirect behavior with PHP
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: nealr, Assigned: asa)
References
()
Details
This bug happens under both Windows and Linux versions fo Netscape 6
http://clearwater.rightnowtech.com/cgi-bin/net6bug.cfg/php/redir1.php
-----redir1.php code----
<?
header("Location: http://www.sun.com");
?>
-------------------
This redirect works fine
http://clearwater.rightnowtech.com/cgi-bin/net6bug.cfg/php/redir2.php
-----redir2.php code----
<?
header("Location: test.php");
?>
--------------------
This redirect also works fine
http://clearwater.rightnowtech.com/cgi-bin/net6bug.cfg/php/redir3.php
-----redir3.php code----
<?
header("Location: http:test.php");
?>
--------------------
This redirect fails in Netscape 6. It works fine with Netscape 4.7x and late
versions of IE.
The 'http' protocol spec is neccesary in some web servers to work properly
(iPlanet web server is one)
http://clearwater.rightnowtech.com/cgi-bin/net6bug.cfg/php/test.php
----test.php code -----
<?
phpinfo();
?>
-------------------
![]() |
||
Comment 1•24 years ago
|
||
unfortunately, that protocol spec is invalid there per the URL rfc.
If you want to use a protocol spec you may not use a relative url.
The discussion of why mozilla sticks to the spec on this issue instead of
bending over backwards to accomodate invalid URLs is in bug 22251 ("Relative
URLs with scheme (e.g., http:page.html) not loading - treated as absolute").
*** This bug has been marked as a duplicate of 22251 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•