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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.102
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/ed569eccd
                   |                            |4a7dffc737a64beb878b0588dba
                   |                            |98e7
         Resolution|---                         |FIXED

--- Comment #2 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit ed569eccd4a7dffc737a64beb878b0588dba98e7 by Fushan Wen.
Committed on 31/12/2022 at 14:00.
Pushed by fusionfuture into branch 'master'.

kdiroperator: fix full file path not being stripped

QDir::isReadable always returns true for an unknown path if the
parent folder is readable, so use QFileInfo::isReadable instead.

Need to use QUrl::StripTrailingSlash and QUrl::RemoveFilename separately
since in QUrlPrivate::appendPath, QUrl::RemoveFilename is done before
QUrl::StripTrailingSlash.
FIXED-IN: 5.102

M  +22   -0    autotests/kdiroperatortest.cpp
M  +8    -2    src/filewidgets/kdiroperator.cpp

https://invent.kde.org/frameworks/kio/commit/ed569eccd4a7dffc737a64beb878b0588dba98e7

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

Reply via email to