Bug #78427 [NEW]: IPv6 brackets
| From: | php at achterstraat dot com | Date: | Sun, 18 Aug 2019 08:28:21 +0000 |
| Subject: | Bug #78427 [NEW]: IPv6 brackets | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222302@lists.php.net to get a copy of this message | ||
From: php at achterstraat dot com
Operating system: Linux
PHP version: 7.3.9RC1
Package: Variables related
Bug Type: Bug
Bug description:IPv6 brackets
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 bug report at https://bugs.php.net/bug.php?id=78427&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78427&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78427&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78427&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78427&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78427&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78427&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78427&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78427&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78427&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78427&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78427&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78427&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78427&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78427&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78427&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78427&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78427&r=mysqlcfg