mailto: use rawurlencode

This commit is contained in:
Andrew Dolgov 2013-04-10 22:48:09 +04:00
parent c3b06333b6
commit 8131e83c46

View file

@ -68,8 +68,8 @@ class MailTo extends Plugin {
$content = ""; $content = "";
$tpl->generateOutputToString($content); $tpl->generateOutputToString($content);
$mailto_link = htmlspecialchars("mailto: ?subject=".urlencode($subject). $mailto_link = htmlspecialchars("mailto: ?subject=".rawurlencode($subject).
"&body=".urlencode($content)); "&body=".rawurlencode($content));
print __("Clicking the following link to invoke your mail client:"); print __("Clicking the following link to invoke your mail client:");