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
  • Version 1
  • bf819a0
  • 7ab1bb8
  • QUrl::toEncoded() fix for the case of "password, but no username".

Showing bf819a0-7ab1bb8

Comments

→ State changed from New to Merged

Merged in 8c306f8ee137baebc312a126c4e0d27bb9150f69

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository