Fix handling of %-encoded entities in mailto: URLs (#1490346)
| | |
| | | - Add initdb.sh to create database from initial.sql script with prefix support (#1490188) |
| | | - Plugin API: Added message_part_body hook |
| | | - Plugin API: Add special onload() method to execute plugin actions before startup (session and GUI initialization) |
| | | - Fix handling of %-encoded entities in mailto: URLs (#1490346) |
| | | |
| | | RELEASE 1.1.1 |
| | | ------------- |
| | |
| | | |
| | | // #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'); |