diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-02-02 10:45:49 -0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-02-04 11:37:31 -0800 |
| commit | 340c9d88ab353e201f117d64609fa5f7d2fa2b21 (patch) | |
| tree | 06f10c09c03cbbec052b56b0dcf346771d68a077 /src/corelib/serialization/qjsonobject.cpp | |
| parent | 7d05f5ed7d3472028e28a09eeda175bb1b1eeb00 (diff) | |
QUrl: avoid going up from the drive path on Windows file URLs
On Windows, using a URL of "file:///c:/" as a base to be resolved with
"../" should not result in the Windows drive being removed.
[ChangeLog][QtCore][QUrl] Fixed a bug (regression from 6.7) where
resolving a base URL of an absolute file path containing a Windows drive
could result in said drive being removed (e.g., resolving "file:///c:/"
with "../" would result in "file:///").
Fixes: QTBUG-133402
Pick-to: 6.9 6.8
Change-Id: I58286b9c5e5d02363f0efffdb06f983b560340df
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/serialization/qjsonobject.cpp')
0 files changed, 0 insertions, 0 deletions
