Bug #77722 [NEW]: Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the localhost

From: Date: Sun, 10 Mar 2019 20:34:08 +0000
Subject: Bug #77722 [NEW]: Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the localhost
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219903@lists.php.net to get a copy of this message
From: josef dot sabl at gmail dot com Operating system: Windows PHP version: 7.3.3 Package: Built-in web server Bug Type: Bug Bug description:Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the localhost Description: ------------ If run as php.exe -S localhost:88 the `$_SERVER['REMOTE_ADDR'] === '[::1]'` with the ::1 enclosed in brackets which is invalid and doesn't work with inet_pton More info here: https://github.com/nette/http/issues/152 -- Edit bug report at https://bugs.php.net/bug.php?id=77722&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77722&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77722&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77722&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77722&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77722&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77722&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77722&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77722&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77722&r=support Expected behavior: https://bugs.php.net/fix.php?id=77722&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77722&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77722&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77722&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77722&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77722&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77722&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77722&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77722&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77722&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77722&r=mysqlcfg

« previous php.bugs (#219903) next »