Summary | URL encoding bug with mailto-style links |
Queue | IMP |
Queue Version | 4.1.3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | ekendall (at) brandeis (dot) edu |
Created | 08/29/2006 (6902 days ago) |
Due | |
Updated | 11/26/2006 (6813 days ago) |
Assigned | 11/05/2006 (6834 days ago) |
Resolved | 11/26/2006 (6813 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
recent changes seem to have fixed this.
State ⇒ Assigned
Assigned to
just from mailtos.
args from a mailto URL. And you have to urldecode the subject line at
some point, or else mailto links with spaces in the subject line won't
work. I'd say that's worse that potentially mangling subjects that
accidentally have what looks like url encoding in them, especially
when many times the percent will itself be encoded.
All the other mail programs I've tried (Thunderbird, OE, Mail.app) all
parse "foo@bar.com?subject=baz%20quux" the way I expect, so I do think
this is a bug. If you have a suggestion for a better place to fix it,
I'd be happy to submit an updated patch.
State ⇒ Feedback
improperly modify it. This should only be done when actually
processing the args from a mailto url, not always.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
New Attachment: urlencode.patch
Queue ⇒ IMP
Summary ⇒ URL encoding bug with mailto-style links
Type ⇒ Bug
properly stripped of URL encoding when being parsed into links.
Running urldecode against all the arguments before urlencoding them
seems to address the problem and shouldn't have any unwanted
consequences.