php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78427 [Litespeed] IPv6 brackets
Submitted: 2019-08-18 08:28 UTC Modified: 2021-08-29 23:08 UTC
From: php at achterstraat dot com Assigned: gwang (profile)
Status: Closed Package: Other web server
PHP Version: 7.3.7 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at achterstraat dot com
New email:
PHP Version: OS:

 

 [2019-08-18 08:28 UTC] 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]

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-18 08:30 UTC] nikic@php.net
-Status: Open +Status: Feedback
 [2019-08-18 08:30 UTC] nikic@php.net
Which SAPI are you using?
 [2019-08-18 08:38 UTC] php at achterstraat dot com
-Status: Feedback +Status: Open -PHP Version: 7.3.9RC1 +PHP Version: 7.3.7
 [2019-08-18 08:38 UTC] php at achterstraat dot com
Using litespeed, correct version is 7.3.7. instead of 7.3.9
 [2021-07-28 12:21 UTC] cmb@php.net
-Package: Variables related +Package: Other web server
 [2021-07-30 08:51 UTC] cmb@php.net
-Summary: IPv6 brackets +Summary: [Litespeed] IPv6 brackets -Assigned To: +Assigned To: gwang
 [2021-07-30 13:53 UTC] gwang@php.net
Hi,

Which version of litespeed web server are you using? Enterprise? OLS?
 [2021-08-29 23:08 UTC] gwang@php.net
-Status: Assigned +Status: Closed
 [2021-08-29 23:08 UTC] gwang@php.net
Since there is no reply, I will close it. Feel free to reopen if the problem still exists.
 [2021-08-29 23:10 UTC] gwang@php.net
Since there is no reply, I will close it. Feel free to reopen if the problem still exists.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 19 19:03:37 2021 UTC