about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-11-22 02:49:40 +0000
committerEric Wong <e@80x24.org>2016-11-22 02:49:40 +0000
commit0cb5397f9ef26b22e529876ba904f1afe24f62da (patch)
tree258853f9c6cdb189e45ca8bf0b62dc7ff8857fc7 /lib
parentd73798ac803114d6cc75d62c624c823d0b553c0d (diff)
downloadpublic-inbox-0cb5397f9ef26b22e529876ba904f1afe24f62da.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm1
1 files changed, 0 insertions, 1 deletions
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));
 }