[#6423] Mailto link not correctly generated when pound sign in link
Summary Mailto link not correctly generated when pound sign in link
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Jan Schneider <jan (at) horde (dot) org>
Requester dion (dot) rowney (at) usask (dot) ca
Created 03/10/2008 (60 days ago)
Due
Updated 03/11/2008 (59 days ago)
Assigned 03/11/2008 (59 days ago)
Resolved 03/11/2008 (59 days ago)
Attachments example.txt Download
Milestone
Patch

History
03/11/2008 Jan Schneider Comment #4
State ⇒ Resolved
Summary ⇒ Mailto link not correctly generated when pound sign in link
Assigned to Jan Schneider
Reply to this comment
Fixed in CVS and the next Horde 3.2 release candidate.
03/11/2008 Jan Schneider Queue ⇒ Horde Framework Packages
 
03/11/2008 dion (dot) rowney (at) usask (dot) ca Comment #3
New Attachment: example.txt Download
Reply to this comment
> Please post a complete example of such a link.

Here is the link as it appears in the message source in the HTML portion of the message.  I hope this does not get parsed:

<a href="mailto:pmx-auto-approve%2b27f0e770e2d85bf9bd8fea61f9dedbff@spamf3.usask.ca?subject=Release%20message%20from%20quarantine&body=%5b%23ptn6Pw-1%5d">[#ptn6Pw-1]</a>

I have also attached example of raw message.
03/11/2008 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please post a complete example of such a link.
03/10/2008 dion (dot) rowney (at) usask (dot) ca Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Mailto link does not correctly when pound sign in link
Type ⇒ Bug
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Reply to this comment
When a mailto in to following form is parsed in html inline:

mailto:user@something.com?subject=x&body=y

and y contains a # sign.

The reply window does not act correctly and the to: and body fields are not populated.

Specific example:

Sophos PureMessage sends users Spam Digests.  The link to release a quarentined message is to send an email to:

pmx-auto-approve+b25d0d3126b5c4821b567867461d0@someserver.ca

with subject:

Release message from quarantine

and body:

[#ptiUVQ-1]

(in case that gets parsed out it is:

[<pound>ptiUVQ-1]

I find that the body text after the pound sign is truncated and the to: field does not get populated.