sabre-io / uri

:earth_asia: Functions for making sense out of URIs in PHP

Home Page:http://sabre.io/uri/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parse() (and thus normalize()) fails on some UTF-8 uris

evert opened this issue · comments

While this is not a valid uri due it's encoding, we still want to support it:

http://example.org/有词法别名.zh

However, PHP's parse_url() corrupts this string, but only on a Mac and not on Linux.

PHP bug here:

https://bugs.php.net/bug.php?id=52923