qt5base-lts/tests/auto/corelib/io/qurlinternal
Thiago Macieira 9e2c6899e0 QUrl: fix IDN conversion when the ACE form is invalid
We guarded against the Unicode form being invalid and did not produce an
encoded form. But we did not guard against proper Punycode sequences
that decode to forms that had not passed the proper Nameprep stage. So
check for that and, if it fails, just keep the label in the form we
found it in (it's valid STD3 anyway).

[ChangeLog][QtCore][QUrl] Fixed a bug that caused certain domain names
that look like Internationalized Domain Names to become corrupt in
decoded forms of QUrl, notably toString() and toDisplayString().

Task-number: QTBUG-60364
Change-Id: Iadfecb6f28984634979dfffd14b833142cca8d0d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-04-25 00:51:43 +00:00
..
qurlinternal.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
tst_qurlinternal.cpp QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00