Bug 17198
Summary: | KURL will mangle names in mailto URLs if they contain an @ sign | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brett Wilson (Google) <brettw> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | abarth, annevk |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 37641 |
Brett Wilson (Google)
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
KURL no longer exists.