Reviewing merge request #2276: QUrl::toEncoded() fix for the case of "password, but no username".
QUrl::toEncoded() fix for the case of "password, but no username".
QUrl::setPassword() without QUrl::setUserName() is actually useful,
e.g. for kde's ldap:// slave. QUrl::toString() already handled this correctly,
but QUrl::toEncoded() would forget the password in such a case.
Autotest added.
Commits that would be merged:
Version 1
- bf819a0
- 7ab1bb8
QUrl::toEncoded() fix for the case of "password, but no username".
Showing
bf819a0-7ab1bb8

Add a new comment:
Login or create an account to post a comment