Browse Source

RemoteComponent : decode query parameters

Keeping them encoded as we receive them from companion creates some issues
https://github.com/plexinc/plex-media-player-private/issues/611
LongChair 7 years ago
parent
commit
50f9cc5302
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/remote/RemoteComponent.cpp

+ 1 - 1
src/remote/RemoteComponent.cpp

@@ -147,7 +147,7 @@ QVariantMap RemoteComponent::QueryToMap(const QUrl& url)
   for(auto stringPair : query.queryItems())
   {
     QString key = stringPair.first;
-    QString value = stringPair.second;
+    QString value = QUrl::fromPercentEncoding(stringPair.second.toLatin1()).toUtf8();
 
     QVariantList l;
     if (queryMap.contains(key))