qt5base-lts/tests/auto/corelib/io/qurl
Thiago Macieira f893d9ec41 Fix QUrl support for empty usernames and passwords
If the password is empty (but present), the userinfo component of the
URL should end in a colon (":"). QUrl already supported that and it
was tested (case "password-empty").

If the username is *also* empty but present, the userinfo component is
just the colon (":"). Fix support for that case by checking if we
stored the presence flag instead of checking the size of the
component.

Change-Id: Ie224493a997dbf76b2e44dd6d55fd9674ac83c1c
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-08-01 13:04:15 +02:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
idna-test.c Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qurl.pro Mark QUrl::{to,from}Punycode as deprecated since 5.0 2012-03-30 01:19:59 +02:00
tst_qurl.cpp Fix QUrl support for empty usernames and passwords 2012-08-01 13:04:15 +02:00