From 8131e83c4676d28b3930a4a2d0160b2f46cc3d33 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Apr 2013 22:48:09 +0400 Subject: [PATCH] mailto: use rawurlencode --- plugins/mailto/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mailto/init.php b/plugins/mailto/init.php index e140bbea..6c7478b6 100644 --- a/plugins/mailto/init.php +++ b/plugins/mailto/init.php @@ -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:"); -- 2.39.5