From 0cb5397f9ef26b22e529876ba904f1afe24f62da Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 22 Nov 2016 02:49:40 +0000 Subject: view: fix spaces in mailto: link Some mail clients do not seem to handle '+' as a space in query parameters for the mail subject, use the more common '%20' for compatibility. --- lib/PublicInbox/View.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 5d5808fa..2bfbb808 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -651,7 +651,6 @@ sub mailto_arg_link { push(@arg, map { "--cc=$_" } @cc); my $cc = uri_escape_utf8(join(',', @cc)); my $href = "mailto:$to?In-Reply-To=$irt&Cc=${cc}&Subject=$subj"; - $href =~ s/%20/+/g; (\@arg, ascii_html($href)); } -- cgit v1.2.3-24-ge0c7