Fix handling of %-encoded entities in mailto: URLs (#1490346)

Conflicts:

	CHANGELOG
pull/280/head
Aleksander Machniak 9 years ago
parent 6066619818
commit 68f76fddbe

@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Fix handling of %-encoded entities in mailto: URLs (#1490346)
RELEASE 1.1.1
-------------
- ACL: Allow other plugins to adjust the list of permissions and groups to edit

@ -448,6 +448,8 @@ function rcmail_process_compose_params(&$COMPOSE)
// #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');

Loading…
Cancel
Save