Review Request 119221: Don't rewrite mailto: URLs als mailto://

Felix Geyer debfx-kde at
Wed Jul 16 22:40:29 BST 2014

This is an automatically generated e-mail. To reply, visit:

(Updated July 16, 2014, 9:40 p.m.)


This change has been marked as submitted.

Review request for kdelibs and David Faure.

Repository: kdelibs


KUrl::prettyUrl() rewrites mailto: URLs als mailto:// if the "path" is empty.
MUAs don't handle mailto:// URLs correctly.

mailto:test at
mailto:?to=test at
are both valid and semantically equivalent.

KUrl::prettyUrl() converts the latter one to mailto://?

This works fine:
kde-open mailto:test at

but this fails:
kde-open mailto:?to=test at

For example with Thunderbird it creates a mail with:
To: //
To: test at

The mailto:// behavior was introduced with

The proposed change special cases mailto so it always uses mailto: instead of mailto://.


  kdecore/io/kurl.cpp 8c491f7 
  kdecore/tests/kurltest.cpp 1fd204f 



Tested with kdelibs 4.13.2 and Thunderbird, Evolution and KMail.


Felix Geyer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list