From 5807ec0eb1b1d64e97fb2e008f00519f254f3c4d Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sun, 8 Mar 2015 15:19:21 -0700 Subject: [PATCH] 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 2c7c8152e..88dcacf5a 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("url")); + QUrl url = QUrl::fromEncoded(np.get("url")); QDesktopServices::openUrl(url); } else { kDebug(debugArea()) << "Error: Nothing attached!";