In the KUrl::prettyUrl() function,
QUrl::toPercentEncoding<http://doc.trolltech.com/4.6/qurl.html#toPercentEncoding>()
is used on the username portion of the url.

http://api.kde.org/4.5-api/kdelibs-apidocs/kdecore/html/kurl_8cpp_source.html#l01067

This causes usernames like "domain\user" to be shown as "domain%5Cuser".
 QUrl::userName() and QUrl::authority() both leave \ unencoded.

My question is why is this done this way?  I think changing it may break
some things, but it just seams odd behavior for something that is labelled
to be used only for displaying to the user.

Thanks.

Tony Murray
  -KRDC

Reply via email to