qt6-bb10/tests/auto/corelib
Thiago Macieira caa598c843 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>
2018-09-29 00:33:39 +00:00
..
animation _q_interpolate<T> is unsafe with unsigned template arguments 2018-08-22 08:38:44 +00:00
codecs Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
global Android: fix tst_qlogging 2018-06-28 07:29:30 +00:00
io Fix QUrl::matches for when removing authority parts (other than host) 2018-09-29 00:33:39 +00:00
itemmodels QSortFilterProxyModel inserting at bottom of source model 2018-08-17 08:10:11 +00:00
kernel QObject: do allow setProperty() to change the type of the property 2018-08-04 15:46:02 +00:00
mimetypes QMimeDatabase: fix assert when fetching data for invalid mimetype 2018-04-06 07:19:01 +00:00
plugin tst_qpluginloader: Fix preprocessor condition 2018-07-27 04:48:30 +00:00
serialization QJsonDocument: Make emptyObject an object 2018-07-31 09:33:42 +00:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread tst_qthreadpool: Skip "stackSize" if unsupported 2018-06-27 17:40:28 +00:00
tools QCommandLineParser: Ensure that an option text ends with a newline 2018-09-28 22:01:05 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00