[vlc-devel] vlc_UrlParse: end username at the last @ rather than the first
remi at remlab.net
Sun Jun 16 15:37:44 CEST 2013
Le dimanche 16 juin 2013 16:33:26, Rémi Denis-Courmont a écrit :
> AFAICT, this change cannot break a valid use; in particular it will not
> break properly encoded usernames. Feel free to erase it, but at least
> Chroma works like that too.
Another way to look at it: the URL is invalid if it has more than one @
character in the authority. Which one the software accepts is outside the
scope of the specification.
Alternatively, we could reject the URL completely. But I fear that would
introduce a lot of new poorly tested error code paths.
More information about the vlc-devel