6.0.0-beta1
11/8/25

[#4516] text email URL decoding enhancement
Summary text email URL decoding enhancement
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Enhancement
State Resolved
Priority 2. Medium
Owners Horde Developers (at) , slusarz (at) horde (dot) org
Requester Benoit.Branciard (at) univ-paris1 (dot) fr
Created 10/12/2006 (6967 days ago)
Due 10/12/2006 (6967 days ago)
Updated 10/13/2006 (6966 days ago)
Assigned 10/13/2006 (6966 days ago)
Resolved 10/13/2006 (6966 days ago)
Milestone
Patch No

History
10/13/2006 07:17:16 AM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
Fixed in HEAD and 3.1.4.
10/13/2006 04:13:59 AM Chuck Hagenbuch Assigned to Michael Slusarz
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
10/13/2006 04:13:03 AM Chuck Hagenbuch Deleted Original Message
 
10/12/2006 03:18:25 PM Benoit (dot) Branciard (at) univ-paris1 (dot) fr Comment #2
New Attachment: emails.UP1-2.diff Download
Reply to this comment
The following patch addresses this problem.
Whoops... Here is a new version (emails.UP1-2.diff) which corrects a 
(harmless) typo and re-inserts the "warning-disable-magic" (@). Sorry...




10/12/2006 12:21:07 PM Benoit (dot) Branciard (at) univ-paris1 (dot) fr Comment #1
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ text email URL decoding enhancement
Due ⇒ 10/12/2006
Queue ⇒ Horde Framework Packages
New Attachment: emails.UP1.diff
State ⇒ New
Reply to this comment
As far as I know, Horde 3.1 does not URL-decode the parameters of a 
"mailto:" pseudo-URL located in a text message.

This causes for example "%20"'s in subject not being expanded to 
spaces when the user pops up a mail compose window by clicking on the 
link.



The following patch addresses this problem. It applies on the 
"lib/Horde/Text/Filter/emails.php" file of the Horde 3.1.3 release, as 
well as the "Text_Filter/Filter/emails.php" file of the 
framework-HEAD-2006-10-11.tar.gz package.



I made the URL-decoding happen on each parameter/value pair after 
parameter splitting rather than on the entire parameter string, to 
avoid unwanted splitting on encoded "=" or "&".

Saved Queries