qt5base-lts/tests/auto/corelib
Thiago Macieira 97de53ee8c QUrl::fromLocalFile: accept invalid hostnames
QUrl hostnames must be compliant with STD3, but we must somehow accept
file paths that begin with double slash but aren't valid hostnames.
Because the file URI spec requires us to start with "file://" anyway, we
can represent those with four slashes. Note that on Unix "//X/y" is a
valid but local file path. If given to QUrl::fromLocalFile(), if the
path at the root does parse as a hostname, we will still try to
normalize (the above becomes "file://x/y").

[ChangeLog][QtCore][QUrl] Changed QUrl::fromLocalFile() to accept
Windows UNC paths whose hostname component is not a valid Internet
hostname. This makes QUrl able to accept extended-length paths (\\?\),
device namespace (\\.\),  WSL (\\wsl$), etc.

Pick-to: 5.15
Fixes: QTBUG-86277
Change-Id: I3eb349b832c14610895efffd1635759348214a3b
Reviewed-by: David Faure <david.faure@kdab.com>
2020-10-05 21:31:18 -07:00
..
animation CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
global Add {add,sub,mul}_overflow detection when one operand is a constant 2020-09-29 14:55:48 -07:00
io QUrl::fromLocalFile: accept invalid hostnames 2020-10-05 21:31:18 -07:00
itemmodels CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
kernel Fix ChangeHandler notification for eager properties 2020-09-30 09:27:50 +02:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
serialization QJsonObject: fix sorting after parsing from JSON text 2020-09-29 16:14:37 -07:00
text Make QAnyStringView comparison operators hidden friends 2020-10-06 06:31:18 +02:00
thread Fix race condition in QThreadPool::clear 2020-10-01 12:15:22 +02:00
time Handle trailing cruft consistently in Qt::DateFormat parsing 2020-10-03 07:09:57 +02:00
tools Deal with {und,ov}erflow issues in QLine's length handling 2020-09-30 16:26:49 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00