mailto: use rawurlencode

master
Andrew Dolgov 11 years ago
parent c3b06333b6
commit 8131e83c46

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

Loading…
Cancel
Save