qt5base-lts/tests/auto/corelib/io/qurl
Thiago Macieira 4d1f0ccbf3 Fix handling of encoded NULs (%00) in QUrl::fromPercentEncoding
QString::fromUtf8, without an explicit size, (currently) defaults to
stopping at the first NUL. That means we need to pass an explicit
size.

Also take the opportunity to test that QUrl::toPercentEncoding also
works with the same data.

Change-Id: I79362d67afda624b01ca07b0315b611c4aa3fdda
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: David Faure <faure@kde.org>
2012-08-01 13:04:12 +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 handling of encoded NULs (%00) in QUrl::fromPercentEncoding 2012-08-01 13:04:12 +02:00