this happens only when attaching multiple files together. If one of the files is named "A B" with two spaces between A and B, I am getting an error message Die Datei oder der Ordner /home/wr/Dokumente/G/ggz/done/A%20 B existiert nicht. Please note that only the first space has been encoded. And of course the error message should not show spaces in their encoded form. Reproducible: Always
I confirm it. Will fix it soon.
it's not a kmail bug it's a kdelibs bug. Don't know why there is this problem. Will investigate
Git commit f54ca51c0a47811054ace6d208c6081ebdb363aa by David Faure. Committed on 03/06/2013 at 14:21. Pushed by dfaure into branch 'KDE/4.10'. Fix bug in KUrl::relativeUrl: it wasn't encoding the path when creating the URL. This answers my own question from a long time ago in the code... M +2 -1 kdecore/io/kurl.cpp M +4 -0 kdecore/tests/kurltest.cpp http://commits.kde.org/kdelibs/f54ca51c0a47811054ace6d208c6081ebdb363aa
Git commit 80099c878a2d60ead7cb7bbbfab89e1eb5782dad by David Faure. Committed on 07/06/2013 at 15:03. Pushed by dfaure into branch 'KDE/4.10'. Fix misuse of KUrl::relativeUrl, which returns relative urls (duh). Not paths. So this was leading to double-escaping, especially after fixing KUrl::relativeUrl to actually escape as it's supposed to do. FIXED-IN: 4.10.5 M +21 -3 kfile/kfilewidget.cpp http://commits.kde.org/kdelibs/80099c878a2d60ead7cb7bbbfab89e1eb5782dad
KMail 4.11.2 still has this bug.
works with 4.12.97