[vlc-devel] Problems parsing udp:// URLs
Thomas Guillem
tguillem at videolan.org
Thu Mar 20 10:04:51 UTC 2025
Hello,
Thanks for the report.
I created an issue on our gitlab here: https://code.videolan.org/videolan/vlc/-/issues/29090
As mails from vlc-devel tend to be forgotten now.
Best,
On Wed, Mar 19, 2025, at 11:57, Valentin Gosu wrote:
> Hi VLC developers,
>
> I work on the Firefox networking stack.
> Recently Firefox (and Chrome) switched our URL parsers for non-special schemes to be more in line with the URL Standard [1]. However this caused issues for VLC users, when clicking udp:// links that are supposed to be opened in VLC [2]. For now we've added an exception for udp URLs, but some webdevelopers are using the udp scheme for other purposes [3]
>
> We would like to remove the exception for udp URLs, and let them be parsed according to the URL standard.
> Is it possible to change the way VLC parses udp URLs [4] so that it still works if the @ character isn't present?
>
> For example, for udp://@10.0.0.2:1234 the URL parser will remove the @ and turn it into udp://10.0.0.2:1234
> Another case that needs to be addressed is udp://@:1234 as it currently fails to parse with the URL standard [5].
>
> Thanks!
>
> [1] https://url.spec.whatwg.org/
> [2] 1949195 - Firefox removes at sign (@) from UDP links for VLC video player - https://bugzilla.mozilla.org/show_bug.cgi?id=1949195
> [3] [1954766 - URL does not parse hostname for udp urls](https://bugzilla.mozilla.org/show_bug.cgi?id=1954766)
> [4] https://docs.videolan.me/vlc-user/desktop/3.0/en/advanced/streaming/udp_url.html
> [5] https://jsdom.github.io/whatwg-url/#url=dWRwOi8vQDoxMjM0&base=YWJvdXQ6Ymxhbms=
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
--
Thomas Guillem
http://www.videolan.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20250320/aa36a266/attachment.htm>
More information about the vlc-devel
mailing list