[PATCH] Fix KMail mailto url handling / new KURL method

Ingo Klöcker kloecker at kde.org
Sun Dec 22 17:02:51 GMT 2002


On Saturday 21 December 2002 18:07, Marc Mutz wrote:
> I've attached two patches. One for kdecore/kurl.* implementing
>   QMap< QString, QString >
>   KURL::queryItems(bool caseInsensitiveKeys=false) const;
> and the second for fixing mailto URL handling in
> KMMailtoComposeCommand and KMUrlClickedCommand.

You have green light to commit the second patch.

> The details:
> kmail:
>   - new config key [General]HeadersAllowedForMailtoUrls that contains
> a list of header fields that are interpreted in mailto urls (in
> addition to To and Body, both of which are special).

Do you have a special reason for including "keywords", "in-reply-to" and 
"references" as headers allowed for mailto URLs by default? Are they 
used anywhere?

>   - KMMainWin::slotUrlClicked() dispatches mailto urls to
>     KMMailtoComposeCommand instead of KMUrlClickedCommand, thus
>     eleminating a bit of code duplication.

Good.

Regards,
Ingo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021222/1f771d94/attachment.sig>


More information about the kde-core-devel mailing list