]> git.sesse.net Git - vlc/commit
decode_URI: simplify/relax non-encoded characters handling
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 27 Jan 2013 20:03:39 +0000 (22:03 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 27 Jan 2013 20:05:02 +0000 (22:05 +0200)
commit485faf1b878195fd2967df02d075f460195b6e9e
tree36595d93570a23a671275b7fa32ab96829694736
parentf71b33de230877ce27fa247e896979190f6d4f25
decode_URI: simplify/relax non-encoded characters handling

Since non-ASCII or non-printable characters are not supposed to occur
in URL, it does not matter much how they are dealt with.

The caller of decode_URI() can anyway not assume anything about the
decoded string. In particular, decode_URI() does not validate UTF-8
sequences in any case.
src/text/url.c