QUrl: ensure toEncoded() matches toString() wrt. empty authority
authorPeter Hartmann <phartmann@rim.com>
Fri, 14 Dec 2012 16:50:30 +0000 (17:50 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 15 Dec 2012 04:43:41 +0000 (05:43 +0100)
commit01a05c104036b11b09ab827847cacb766ee533ad
treeec93031be61c68563b30dc15df1593288ed0ed44
parent3f13d38b0f0fee28f57c8b5193cbe12511abb042
QUrl: ensure toEncoded() matches toString() wrt. empty authority

This was already fixed for toString() with commit 884f15e, this commit
also fixes the toEncoded() implementation.

In Qt5 this is already working.

Task-number: QTBUG-8701
Change-Id: I0c81801e74d97de31632df45e52a25eb037b4710
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/io/qurl.cpp
tests/auto/qurl/tst_qurl.cpp