[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:18 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=5807ec0

The following commit has been merged in the master branch:
commit 5807ec0eb1b1d64e97fb2e008f00519f254f3c4d
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Sun Mar 8 15:19:21 2015 -0700

    Fixed re-encoding already encoded URLs, corrupting them.
    
    BUG: 344910
---
 plugins/share/shareplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/share/shareplugin.cpp b/plugins/share/shareplugin.cpp
index 2c7c815..88dcacf 100644
--- a/plugins/share/shareplugin.cpp
+++ b/plugins/share/shareplugin.cpp
@@ -112,7 +112,7 @@ bool SharePlugin::receivePackage(const NetworkPackage& np)
             QDesktopServices::openUrl(QUrl::fromLocalFile(tmpFile.fileName()));
         }
     } else if (np.has("url")) {
-        QUrl url(np.get<QString>("url"));
+        QUrl url = QUrl::fromEncoded(np.get<QByteArray>("url"));
         QDesktopServices::openUrl(url);
     } else {
         kDebug(debugArea()) << "Error: Nothing attached!";

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list