Problems parsing udp:// URLs
Valentin Gosu <[email protected]> Wed, 19 Mar 2025 11:57:31 +0100
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Message-ID | <CACQYfiL3SgpV+pKCK-dusroN=iGQMH625W_7wrx7HMV-BU91ng@mail.gmail.com> |
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