consecutive slash / get removed in URL
Posted: 03 Feb 2021 16:07
Hello,
VLC media player seems to remove consecutive slashes / in an http URL ( only one / is kept)
ie: VLC sends http://192.168.1.57/%25/sdb1/xx/yy to the web server when http://192.168.1.57/%25////xx/yy is entered in 'network URL'
While I agree that is is quite unusual to use consecutive slashes in an URL , the 'DLNA export plugin' in digiKam ( https://www.digikam.org/ ) does use it in url the DLNA renderer is supposed to use to retrieve the video / photo / music files from digiKam. ( well that my understanding )
As web browsers ( tested zith firefox and chrome) don't remove consecutive slashes, I guess VLC should not either ?
Apache log file:
======
192.168.1.57 - - [03/Feb/2021:14:12:58 +0100] "GET /%25/sdb1/videos/mg1.mp4 HTTP/1.1" 404 435 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.57 - - [03/Feb/2021:14:17:08 +0100] "GET /%25////sdb1/videos/mg1.mp4 HTTP/1.1" 404 491 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.1.57 - - [03/Feb/2021:14:18:05 +0100] "GET /%25//sdb1/videos/mg1.mp4 HTTP/1.1" 404 491 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.1.57 - - [03/Feb/2021:14:18:59 +0100] "GET /%25/%20/sdb1/videos/mg1.mp4 HTTP/1.1" 404 435 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.57 - - [03/Feb/2021:14:18:59 +0100] "GET /%25/%20/sdb1/videos/mg1.mp4 HTTP/1.0" 404 454 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.80 - - [03/Feb/2021:14:54:07 +0100] "GET /%25/sdb1/videos/mg1.mp4 HTTP/1.1" 404 435 "-" "VLC/3.0.12.1 LibVLC/3.0.12.1"
192.168.1.80 - - [03/Feb/2021:14:54:07 +0100] "GET /%25/sdb1/videos/mg1.mp4 HTTP/1.0" 404 454 "-" "VLC/3.0.12.1 LibVLC/3.0.12.1"
192.168.1.103 - - [03/Feb/2021:14:57:04 +0100] "GET /%25/sdb1/xxx HTTP/1.1" 404 435 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.103 - - [03/Feb/2021:14:58:26 +0100] "GET /%25////sdb1/xxx HTTP/1.1" 404 491 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
192.168.1.80 - - [03/Feb/2021:15:19:12 +0100] "GET /%25////xx/yy HTTP/1.1" 404 491 "-" "Mozilla/5.0 (Linux; Android 10; SM-A715F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36"
==========
192.x.y.57 is vlc or firefox on Debian Buster
192.x.y.103 is vlc or firefox on Suze Tumbleweed
192.x.y,80 is vlc or chrome on Android 10
Any idea why slashes get removed?
Or should I complain with digiKam ?
Thank you
VLC media player seems to remove consecutive slashes / in an http URL ( only one / is kept)
ie: VLC sends http://192.168.1.57/%25/sdb1/xx/yy to the web server when http://192.168.1.57/%25////xx/yy is entered in 'network URL'
While I agree that is is quite unusual to use consecutive slashes in an URL , the 'DLNA export plugin' in digiKam ( https://www.digikam.org/ ) does use it in url the DLNA renderer is supposed to use to retrieve the video / photo / music files from digiKam. ( well that my understanding )
As web browsers ( tested zith firefox and chrome) don't remove consecutive slashes, I guess VLC should not either ?
Apache log file:
======
192.168.1.57 - - [03/Feb/2021:14:12:58 +0100] "GET /%25/sdb1/videos/mg1.mp4 HTTP/1.1" 404 435 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.57 - - [03/Feb/2021:14:17:08 +0100] "GET /%25////sdb1/videos/mg1.mp4 HTTP/1.1" 404 491 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.1.57 - - [03/Feb/2021:14:18:05 +0100] "GET /%25//sdb1/videos/mg1.mp4 HTTP/1.1" 404 491 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.1.57 - - [03/Feb/2021:14:18:59 +0100] "GET /%25/%20/sdb1/videos/mg1.mp4 HTTP/1.1" 404 435 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.57 - - [03/Feb/2021:14:18:59 +0100] "GET /%25/%20/sdb1/videos/mg1.mp4 HTTP/1.0" 404 454 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.80 - - [03/Feb/2021:14:54:07 +0100] "GET /%25/sdb1/videos/mg1.mp4 HTTP/1.1" 404 435 "-" "VLC/3.0.12.1 LibVLC/3.0.12.1"
192.168.1.80 - - [03/Feb/2021:14:54:07 +0100] "GET /%25/sdb1/videos/mg1.mp4 HTTP/1.0" 404 454 "-" "VLC/3.0.12.1 LibVLC/3.0.12.1"
192.168.1.103 - - [03/Feb/2021:14:57:04 +0100] "GET /%25/sdb1/xxx HTTP/1.1" 404 435 "-" "VLC/3.0.12 LibVLC/3.0.12"
192.168.1.103 - - [03/Feb/2021:14:58:26 +0100] "GET /%25////sdb1/xxx HTTP/1.1" 404 491 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
192.168.1.80 - - [03/Feb/2021:15:19:12 +0100] "GET /%25////xx/yy HTTP/1.1" 404 491 "-" "Mozilla/5.0 (Linux; Android 10; SM-A715F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36"
==========
192.x.y.57 is vlc or firefox on Debian Buster
192.x.y.103 is vlc or firefox on Suze Tumbleweed
192.x.y,80 is vlc or chrome on Android 10
Any idea why slashes get removed?
Or should I complain with digiKam ?
Thank you