[vlc-commits] [Git][videolan/vlc][master] Revert "qt: MainInterface: decode partially encoded MRL on drop"

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Apr 6 15:43:03 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
d2b02a76 by Fatih Uzunoglu at 2025-04-06T15:19:46+00:00
Revert "qt: MainInterface: decode partially encoded MRL on drop"

This reverts commit 67e2541b19b8a12f6d799222872dd0f0ac2e83b4.

- - - - -


1 changed file:

- modules/gui/qt/maininterface/qml/MainInterface.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/MainInterface.qml
=====================================
@@ -241,12 +241,7 @@ Item {
                 if (drop.hasUrls) {
 
                     for (let i = 0; i < drop.urls.length; i++)
-                    {
-                        /* First decode the URL since we'll re-encode it
-                           afterwards, while fixing the non-encoded spaces. */
-                        let url = decodeURIComponent(drop.urls[i]);
-                        urls.push(url);
-                    }
+                        urls.push(drop.urls[i])
 
                 } else if (drop.hasText) {
                     /* Browsers give content as text if you dnd the addressbar,



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d2b02a761ed35ef6e9ca62a9c540632991faa3b4

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d2b02a761ed35ef6e9ca62a9c540632991faa3b4
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list