diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-07-28 19:50:27 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-08-16 19:34:52 +0000 |
commit | b0479aab297f041aa9842c3e1996d62c16d7dbcf (patch) | |
tree | 7a24c4a150bba291b10335c4fce9cf2d9cad46a4 /header.GPL-EXCEPT | |
parent | 04bbf534f98387073ce327eac2718e0170f8d8c0 (diff) |
QUrl: Make sure we do reject URLs for which IDNA nameprep failed
qt_nameprep() already reset the string to its original length to
indicate failure, but we didn't handle that in qt_ACE_do(). So make it
have a return value whcih makes it easier to handle that case and do
handle it.
[ChangeLog][QtCore][QUrl] Fixed a bug that caused URLs whose hostnames
contained unassigned or prohibited Unicode codepoints to report
isValid() = true, despite clearing the hostname.
Change-Id: I41e7b3bced5944239f41fffd1545b7274c4b419d
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'header.GPL-EXCEPT')
0 files changed, 0 insertions, 0 deletions