[vlc-devel] [PATCH] Parse square brackets in pathnames - ticket #20384

Rémi Denis-Courmont remi at remlab.net
Sun Apr 29 07:51:35 CEST 2018


Le sunnuntaina 29. huhtikuuta 2018, 8.48.00 EEST Rémi Denis-Courmont a écrit :
> Le sunnuntaina 29. huhtikuuta 2018, 1.37.58 EEST Cristiano Milia a écrit :
> > When opening a M3U playlist containing relative pathnames, the songs
> > whose pathname contains a square bracket are simply ignored.
> > This patch makes vlc_uri_component_validate consider [] as valid
> > parts of pathnames.
> 
> This is wrong, as Zhili pointed out, and will break some valid URLs.

Or rather, since this breaks the parsing rather than the clean-up, this causes 
invalid URLs to be accepted then break down the line.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list