- Now throwing
InvalidUriException
if a uri passed to theparse
function is invalid or could not be parsed. - #11: Fix support for URIs that start with a triple slash. PHP's
parse_uri()
doesn't support them, so we now have a pure-php fallback in case it fails. - #9: Fix support for relative URI's that have a non-uri encoded colon
:
in them.
- #10: Correctly support
file://
URIs in the build() method. (@yuloh)
- Requires PHP 7.
- Added type-hints where relevant. =======
- Now throwing
InvalidUriException
if a uri passed to theparse
function is invalid or could not be parsed. - #11: Fix support for URIs that start with a triple slash. PHP's
parse_uri()
doesn't support them, so we now have a pure-php fallback in case it fails. - #9: Fix support for relative URI's that have a non-uri encoded colon
:
in them.
- #10: Correctly support file:// URIs in the build() method. (@yuloh)
- #6: PHP's
parse_url()
corrupts strings if they contain certain non ascii-characters such as Chinese or Hebrew. sabre/uri'sparse()
function now percent-encodes these characters beforehand.
- #4: Using php-cs-fixer to automatically enforce conding standards.
- #5: Resolving to and building
mailto:
urls were not correctly handled.
- Added a
normalize
function. - Added a
buildUri
function. - Fixed a bug in the
resolve
when only a new fragment is specified.
San José, CalConnect XXXII release!
- First version!
- Source was lifted from sabre/http package.
- Provides a
resolve
and asplit
function. - Requires PHP 5.4.8 and up.