Procházet zdrojové kódy

Fully encode URLs when loading files

Mark McDowall před 7 roky
rodič
revize
9104c8d1d3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/player/PlayerComponent.cpp

+ 1 - 1
src/player/PlayerComponent.cpp

@@ -306,7 +306,7 @@ void PlayerComponent::queueMedia(const QString& url, const QVariantMap& options,
     qurl.setHost(ConvertPlexDirectURL(host));
 
   QVariantList command;
-  command << "loadfile" << qurl.toString();
+  command << "loadfile" << qurl.toString(QUrl::FullyEncoded);
   command << "append-play"; // if nothing is playing, play it now, otherwise just enqueue it
 
   QVariantMap extraArgs;