Bug 17198 - KURL will mangle names in mailto URLs if they contain an @ sign
Summary: KURL will mangle names in mailto URLs if they contain an @ sign
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 37641
  Show dependency treegraph
 
Reported: 2008-02-06 11:27 PST by Brett Wilson (Google)
Modified: 2023-05-22 03:37 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Wilson (Google) 2008-02-06 11:27:14 PST
KURL searches for @ signs in mailto: URLs, and encodes the following text as a host name. This works for most common mailto URLs, but will break if I have a URL like this:

mailto:"Mom @Work" <mom@work.com>

The quotes and <> need to be escaped, so the real URL would look like this:
mailto:%22Mom%20@Work%22%20%3Cmom@work.com%3E

This is actually handled correctly by at least some mail agents, and if "work" contains any non-ASCII characters, they will be mangled.
Comment 1 Anne van Kesteren 2023-05-22 03:37:28 PDT
KURL no longer exists.