KUrl or QUrl bug?
David Faure
faure at kde.org
Fri Jun 18 14:45:57 BST 2010
On Thursday 17 June 2010, Sebastian TrĂ¼g wrote:
> Hi guys,
>
> please find attached a patch to the kurltest which will make it fail
> since an url on which you add a query item and then remove it are not
> equal anymore.
Yes, because "no query" isn't the same as "an empty query", IIRC.
So after removing the query, you have a url with "an empty query".
Did you try calling .url() on both urls? I suppose url3 will have a trailing
'?'.
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
More information about the kde-core-devel
mailing list