Net_URL2 pear.php.net Net_URL Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs. Tom Klingenberg tkli tkli@php.net yes David Coallier davidc davidc@php.net no Christian Schmidt schmidt schmidt@php.net no 2014-10-21 2.1.0 2.1.0 stable stable BSD-3-Clause * New: OPTION_DROP_SEQUENCE 5.1.4 1.4.0b1 2014-10-21 2.1.0 2.1.0 stable stable BSD-3-Clause * New: OPTION_DROP_SEQUENCE 2014-10-21 2.0.12 2.0.0 stable stable BSD-3-Clause * Removed: OPTION_DROP_SEQUENCE 2014-10-18 2.0.11 2.0.0 stable stable BSD-3-Clause * New: OPTION_DROP_SEQUENCE 2014-10-09 2.0.10 2.0.0 stable stable BSD-3-Clause * Imp: composer for pear * Fix: Documentation problem 2014-10-08 2.0.9 2.0.0 stable stable BSD-3-Clause * Fixed #20418: Incorrect normalization of URI with missing authority * Upd: Test for RFC 3986 Section 1.1.2 Examples * Upd: Travis CI - PHP 5.6 added 2014-10-07 2.0.8 2.0.0 stable stable BSD-3-Clause * Fixed #20420: Inconsistent setAuthority and getAuthority * Fixed #20423: URI with IPv6 or IPvFuture not parsed * Imp: Test for RFC 3986 Section 1.1.2 Examples 2014-09-07 2.0.7 2.0.0 stable stable BSD-3-Clause * Fixed #20385: Incorrect normalization of userinfo * Fixed #20399: Setting userinfo to FALSE not transparent 2014-07-21 2.0.6 2.0.0 stable stable BSD-3-Clause * Fixed #20304: file:// URI gets crippled 2014-01-01 2.0.5 2.0.0 stable stable BSD-3-Clause * Fixed #17036: Brackets broken for query variables * Fixed diverse coding style violations and misc. minor issues * Increased code coverage 2013-12-31 2.0.4 2.0.0 stable stable BSD-3-Clause * Fixed #20161: URLs with "0" as host fail to normalize with empty path * A flaw in NetURL2::removeDotSegments() introduced in 2.0.1 has been fixed * New: NetURL2::removeDotSegments() emits a warning on loop limit reach * Url-segment maximum count raised from 100 to 256 (loop limit) 2013-12-30 2.0.3 2.0.0 stable stable BSD-3-Clause * Fixed #20156: setAuthority() flaw with "0" as host * Fixed #20157: normalize() flaw with "0" as path * Fixed #20158: Fragment-only references are not resolved to non-absolute base URI * Fixed #20159: Authority not terminated by slash * Fixed diverse coding style violations and misc. minor issues * Increased code coverage * Added support for Scrutinizer CI 2013-12-27 2.0.2 2.0.0 stable stable BSD-3-Clause * Fixed #19684: Redirects containing spaces do not work * Fixed diverse coding style violations and misc. minor issues * Improved source package distribution * Added support for Travis CI 2013-12-24 2.0.1 2.0.0 stable stable BSD-3-Clause * Fixed Bug #20013: getNormalizedURL() adds leading "@" chars in the Authority * Fixed Bug #20016: Wrong data in 6d4f4dd "Package.xml preparation." * Fixed Bug #19176: resolve() does not merge the path if the base path is empty * Fixed Bug #19315: removeDotSegments("0") not working 2011-10-20 2.0.0 2.0.0 stable stable BSD-3-Clause * Fixed the version of the release. Follow the convention for Package2. * Fixed Bug #18917: URL2.php moved to ./Net/Net (davidc) 1.0.0 1.0.0 stable stable 2011-10-20 BSD-3-Clause * Fixed Bug #17036: Problem with parsed query string * Fixed Bug #17087: setOption() function is gone * Fixed #17166: Fluent Interface * Fixed #17167: Refactor __construct * Fixed Bug #18267: setQueryVariables() fails to encode array values * Fixed Bug #14399: Fixed multiple bugs in Net_URL2 (Missing setOption value, unused properties, etc.) 0.3.1 0.3.0 beta beta 2011-02-22 BSD-3-Clause * BC break: Removed setOption() to avoid undefined behaviour (bug #16674) * Fixed Bug #16854: Invalid package.xml making it impossible to install with Pyrus * Fixed Bug #16651: Port may be an empty string * Fixed Bug #16653: Don't make OPTION_SEPARATOR_(IN|OUT)PUT default to arg_separator.(in|out)put 0.3.0 0.3.0 beta beta 2009-09-05 BSD-3-Clause * Fixed #14399 (Errors in URL parsing (items #1 and #3)) * Fixed #14735 (Encode query string values) * Fixed #15546 (Add adding __toString()) * Fixed #15367 (Use RFC 3986-compliant version of rawurlencode() in PHP < 5.2) * Fixed #14289 (Add __get() and __set()) 0.2.0 0.2.0 beta beta 2008-06-18 BSD-3-Clause * Major rewrite to comply with RFC3986 (bug #11574). * Much better support for resolving relative URLs. * WARNING: Method and property names has changed to reflect the terminology used in the RFC - THIS RELEASE IS NOT BACKWARDS COMPATIBLE WITH VERSION 0.1.0. 0.1.0 0.1.0 beta beta 2007-05-08 BSD-3-Clause Convert to PHP5 only. PHP4 users should continue with version 1.0.15