[Tickets #4516] NEW: text email URL decoding enhancement

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Oct 12 05:21:10 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4516
-----------------------------------------------------------------------
 Ticket             | 4516
 Created By         | Benoit.Branciard at univ-paris1.fr
 Summary            | text email URL decoding enhancement
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Enhancement
 State              | New
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | emails.UP1.diff
-----------------------------------------------------------------------


Benoit.Branciard at univ-paris1.fr (2006-10-12 05:21) wrote:

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 "&". 




More information about the bugs mailing list