Aleksander Machniak
2015-03-30 c2e41a6dd5871509f00156f9117b28cfab7de6cf
Fix handling of %-encoded entities in mailto: URLs (#1490346)

Conflicts:

CHANGELOG
2 files modified
3 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/mail/compose.inc 2 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -7,6 +7,7 @@
- Fix handling of some improper constructs in format=flowed text as per the RFC3676[4.5] (#1490284)
- Fix missing or not up-to-date CATEGORIES entry in vCard export (#1490277)
- Fix duplicate entry on timezones list in rcube_config::timezone_name_from_abbr() (#1490293)
- Fix handling of %-encoded entities in mailto: URLs (#1490346)
RELEASE 1.0.5
-------------
program/steps/mail/compose.inc
@@ -430,6 +430,8 @@
        // #1486037: remove "mailto:" prefix
        $COMPOSE['param']['to'] = preg_replace('/^mailto:/i', '', $mailto[0]);
        // #1490346: decode the recipient address
        $COMPOSE['param']['to'] = urldecode($COMPOSE['param']['to']);
        // Supported case-insensitive tokens in mailto URL
        $url_tokens = array('to', 'cc', 'bcc', 'reply-to', 'in-reply-to', 'references', 'subject', 'body');