Bug #78427 [Opn->Fbk]: IPv6 brackets
| From: | nikic@php.net | Date: | Sun, 18 Aug 2019 08:30:35 +0000 |
| Subject: | Bug #78427 [Opn->Fbk]: IPv6 brackets | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222303@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78427&edit=1
ID: 78427
Updated by: nikic@php.net
Reported by: php at achterstraat dot com
Summary: IPv6 brackets
-Status: Open
+Status: Feedback
Type: Bug
Package: Variables related
Operating System: Linux
PHP Version: 7.3.9RC1
Block user comment: N
Private report: N
New Comment:
Which SAPI are you using?
Previous Comments:
------------------------------------------------------------------------
[2019-08-18 08:28:20] php at achterstraat dot com
Description:
------------
For IPv6 in $_SERVER['REMOTE_ADDR'] returns '[::1]' again, instead of expected
'::1'
See also https://bugs.php.net/bug.php?id=76919
and https://bugs.php.net/bug.php?id=77722
Expected result:
----------------
::1
Actual result:
--------------
[::1]
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78427&edit=1