New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HHVM failing to parse some valid data: URI #6354
Comments
Isn't that a bit ridiculous? Just because PHP lets you do comepletely redundant things doesn't mean hhvm should as well. |
This is not related to PHP. Similar URIs are used in the wild (and it's how I found this problem first). |
Does it choke with base64_decode as well? |
It chokes on the charset. When you remove the charset it works fine. |
Yes the problem is only the charset. |
The rfc to cite is 2397. The hhvm error message threw me to 2396. Adding a charset this way is spec compliant. The data Uri parser in hhvm is (maybe was) not following the spec properly. |
With PHP:
With HHVM:
The text was updated successfully, but these errors were encountered: