]> git.wh0rd.org Git - tt-rss.git/commitdiff
mailto: use rawurlencode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Apr 2013 18:48:09 +0000 (22:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Apr 2013 18:48:09 +0000 (22:48 +0400)
plugins/mailto/init.php

index e140bbea708a80e30b330d972fb8b1a518d391e0..6c7478b687c38d47bf56daedf2a4770b5582fc48 100644 (file)
@@ -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:");