about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-27 21:13:41 +0000
committerEric Wong <e@80x24.org>2016-06-27 21:17:31 +0000
commit5f3d08d721c371c00f6bd234f248ce45f137e181 (patch)
tree9cf535420b0ff6509b16fdefe9cf92c45c1a47d7
parent0dee21b52c1bee667c487e1c8f6a3e7687dd43c0 (diff)
downloadpublic-inbox-5f3d08d721c371c00f6bd234f248ce45f137e181.tar.gz
Oops, we cannot have bare '&' in mailto: links, either.
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 5dd586c9..30339cd4 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -496,7 +496,7 @@ sub mailto_arg_link {
         my $href = "mailto:$to?In-Reply-To=$irt&Cc=${cc}&Subject=$subj";
         $href =~ s/%20/+/g;
 
-        (\@arg, $href);
+        (\@arg, ascii_html($href));
 }
 
 sub html_footer {