-
Notifications
You must be signed in to change notification settings - Fork 18
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
UTF-8 Encode URLs #12
Comments
Hello InQuize, hope these information helps: rfc 1738 complianceAccording to rfc 1738's requirement for URL, these characters must be encoded to printable US-ASCII using
excerpt from rfc 1738:
rfc 2616 complianceAccording to rfc 2616, the rfc-compliant implementation is required to decode the excerpt from rfc 2616
Also refer toFeel free to correct me if I'm wrong! |
Yeah, pretty much. Good job citing all the docs. |
Thanks for pointing that out! |
When I try to play media file served by webfs in VLC all goes well, until there is some symbol in filename that does not pass input sanity checks.
In my case I'm having trouble with square brackets
[ ]
.It is a good practice to UTF-8 encode URLs so that
http://example.com/dir/sub dir/long filename with $ymbols & stuff.mp4
would look like
http%3A%2F%2Fexample.com%2Fdir%2Fsub%20dir%2Flong%20filename%20with%20%24ymbols%20%26%20stuff.mp4
If I manually encode links served by webfs with e.g.
urlencoder.org
, VLC does not through error and plays fine, so it should be a matter of fixing HTML, possibly as configurable option.The text was updated successfully, but these errors were encountered: