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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
33 - 11 = ?
Subscribe to this entry?

 
 [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: Mon Sep 20 12:03:37 2021 UTC