[PEAR-BUG] Bug #20423 [Ctl->Csd]: URI with IPv6 or IPvFuture not parsed
[email protected] Wed, 8 Oct 2014 01:55:06 +0100 (BST)
| Newsgroups | php.pear.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://pear.php.net/bugs/bug.php?id=20423&edit=1 ID: 20423 Updated by: [email protected] Reported By: jan dot prachar at gmail dot com Summary: URI with IPv6 or IPvFuture not parsed -Status: Critical +Status: Closed Type: Bug Package: Net_URL2 Package Version: 2.0.7 PHP Version: Irrelevant Assigned To: tkli Roadmap Versions: New Comment: -Status: Critical +Status: Closed Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/ Previous Comments: ------------------------------------------------------------------------ [2014-10-07 22:53:42] tkli -Summary: Doesn't parse URI with IPv6 or IPvFuture +Summary: URI with IPv6 or IPvFuture not parsed -Status: Open +Status: Critical -Assigned To: +Assigned To: tkli not supporting IP-literals is a major violation of the announced support of RFC 3986 by Net_URL2. Net_URL2 with this flaw (<= 2.0.7) even violates the example URI given in section 1.1.2: ldap://[2001:db8::7]/c=GB?objectClass?one similar to your report, it gets cripled to ldap:/c=GB?objectClass?one this will be fixed in the next release. ------------------------------------------------------------------------ [2014-10-06 19:25:01] pracj3am Description: ------------ Missing support for IPv6 or IPvFuture host. Test script: --------------- echo (new self('http://[::1]//'))->getUrl(); Expected result: ---------------- http://[::1]// Actual result: -------------- http:// ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=20423&edit=1