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.
Attachments
For Gerrit Dashboard: QTBUG-135433 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
636882,3 | QUrl: expand the square brackets encoding to decoded setPath() calls | dev | qt/qtbase | Status: MERGED | +2 | 0 |
637664,2 | QUrl: expand the square brackets encoding to decoded setPath() calls | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
637668,2 | QUrl: expand the square brackets encoding to decoded setPath() calls | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |