https://bugs.kde.org/show_bug.cgi?id=454692

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|5.26                        |5.27
         Resolution|---                         |FIXED
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
                   |31b7090224770e7879c901433c0 |0c7854a7b587d713f17883003f4
                   |423817f285aec               |36af972bb08ff
             Status|ASSIGNED                    |RESOLVED

--- Comment #10 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 0c7854a7b587d713f17883003f436af972bb08ff by Fushan Wen.
Committed on 25/12/2022 at 14:04.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: use `QUrl::fromUserInput` to sanitize filename

fromUserInput will add file:// for local files, and sanitize some
bizzare characters in filenames.
FIXED-IN: 5.27

M  +2    -1    wallpapers/image/plugin/autotests/commontestdata.h
M  +1    -0    wallpapers/image/plugin/autotests/test_imagefinder.cpp
M  +2    -0    wallpapers/image/plugin/autotests/test_imagelistmodel.cpp
M  +4    -0    wallpapers/image/plugin/autotests/test_imageproxymodel.cpp
M  +2    -0    wallpapers/image/plugin/autotests/test_slidemodel.cpp
A  +-    --    wallpapers/image/plugin/autotests/testdata/default/\ BUG454692
file name with backslash.png
M  +6    -0    wallpapers/image/plugin/autotests/tst_imagebackend.cpp
M  +14   -0    wallpapers/image/plugin/autotests/tst_imagebackend.qml
M  +1    -1    wallpapers/image/plugin/autotests/tst_imagefrontend.cpp
M  +4    -4    wallpapers/image/plugin/imagebackend.cpp
M  +14   -23   wallpapers/image/plugin/utils/mediaproxy.cpp
M  +0    -3    wallpapers/image/plugin/utils/mediaproxy.h

https://invent.kde.org/plasma/plasma-workspace/commit/0c7854a7b587d713f17883003f436af972bb08ff

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to