ID:               43632
 User updated by:  u7vd8gw2725h59sm at yopmail dot com
 Reported By:      u7vd8gw2725h59sm at yopmail dot com
-Status:           No Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: Irrelevant
 PHP Version:      5.2.5
 New Comment:

The bug is "the lack of SQUARE BRACKETS" for the IPv6 address (in 
HTTP_HOST).
A valid IPv6 address is (for example):
http://[2001:4978:1:110:0:ac:ce55:1b1e]:80/
And HTTP_HOST should be: [2001:4978:1:110:0:ac:ce55:1b1e]:80
And not: 2001:4978:1:110:0:ac:ce55:1b1e:80


Previous Comments:
------------------------------------------------------------------------

[2007-12-30 01:00:02] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2007-12-22 17:18:45] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2007-12-19 00:40:30] u7vd8gw2725h59sm at yopmail dot com

Description:
------------
With an IPv6 address, HTTP_HOST should be for example [::1]:8080 and
not  
::1:8080

For example IPv6 URI:
http://[::1]:8080/
http://user:password[::1]:8081/
http://[::1]:80/dir/file
http://[::1]:8000/dir/file?q=query






Reproduce code:
---------------
<?php echo $_SERVER["HTTP_HOST"]; ?>

Expected result:
----------------
[::1]:8080

Actual result:
--------------
::1:8080


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43632&edit=1

Reply via email to