diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-09-27 11:56:07 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-09-29 00:33:39 +0000 |
commit | caa598c843eb27fd0c645e62723fd2d4e3e12f60 (patch) | |
tree | f195b88180d3bb1c1f9b8725629836f372b6c015 /examples/opengl | |
parent | 94884246d445fb3e702ac8c4d4bb432768e61b61 (diff) |
Fix QUrl::matches for when removing authority parts (other than host)
QUrl::RemoveAuthority is RemoveUserInfo | RemovePort | 0x10, so the
condition
if (options & QUrl::RemoveAuthority)
would match if any of the other bits for the username, password or port
were set, which meant we would skip the host comparison. Ditto for
username and RemovePassword.
[ChangeLog][QtCore][QUrl] Fixed a bug that caused QUrl::matches to
incorrectly compare two URLs with different hostnames or different
usernames as equal, if certain QUrl::RemoveXxx options were passed.
Change-Id: I015970a03b874898bba7fffd155856ab9d6cb1be
Fixes: QTBUG-70774
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/opengl')
0 files changed, 0 insertions, 0 deletions