Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.3
-
None
-
-
f3da9d3c8 (dev), 01ff6e19f (6.9), 14a848014 (6.8)
Description
https://github.com/qt/qtbase/commit/5e936b60fc921e21b8153a83113886a1de333b57 changes QUrl::fromLocalFile to percent-encode square brackets. However, a local QUrl constructed by QUrl::setPath and QUrl::fromUserInput (and possibly QUrl::setScheme?) doesn't do the encoding, resulting in regressions in user code (e.g. https://bugs.kde.org/show_bug.cgi?id=502280). It would be desirable that local QUrls representing the same path would be equal no matter how they are constructed.