From: Jean-Baptiste Kempf Date: Sat, 12 Jan 2008 08:03:00 +0000 (+0000) Subject: Qt4 - Encode URLs in open dialog as requested. Close defect #1414. X-Git-Tag: 0.9.0-test0~3518 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c02a3fa285fafdd453dc2add243aa65ae935b920;p=vlc Qt4 - Encode URLs in open dialog as requested. Close defect #1414. --- diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index b9b8c883b7..7075fe79d8 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -40,6 +40,7 @@ #include #include #include +#include /************************************************************************** * Open Files and subtitles * @@ -498,6 +499,9 @@ void NetOpenPanel::updateMRL() { emit methodChanged("udp-caching"); } } + + // Encode the boring stuffs + mrl = QUrl( mrl ).toEncoded(); if( ui.timeShift->isEnabled() && ui.timeShift->isChecked() ) { mrl += " :access-filter=timeshift"; }