Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
82db96fa by Pierre Lamot at 2024-04-30T06:15:02+00:00
qt: fix URL deserialization in VLCAcessImageProvider

characters as `?` or `&` remained encoded and were causing access issue for
artwork from services discoveries such as jamendo

- - - - -


1 changed file:

- modules/gui/qt/util/vlcaccess_image_provider.cpp


Changes:

=====================================
modules/gui/qt/util/vlcaccess_image_provider.cpp
=====================================
@@ -158,7 +158,7 @@ QQuickImageResponse* 
VLCAccessImageProvider::requestImageResponse(const QString&
     if (!query.hasQueryItem(PATH_KEY))
         return nullptr;
 
-    QString vlcurl = query.queryItemValue(PATH_KEY, QUrl::FullyEncoded);
+    QString vlcurl = query.queryItemValue(PATH_KEY, QUrl::FullyDecoded);
     return new VLCAccessImageResponse(QUrl::fromEncoded(vlcurl.toUtf8()), 
requestedSize, postProcessCb);
 }
 



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to