about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-30 21:17:14 +0000
committerEric Wong <e@80x24.org>2015-09-30 21:17:14 +0000
commit6d4c168ed494d1f4681a00062aab92baff50e94a (patch)
treef67505b3160767a009e3185eaa18dd8eae9d752d /lib
parent58c7600f8fc4d9970793a214c22cab52540968f7 (diff)
downloadpublic-inbox-6d4c168ed494d1f4681a00062aab92baff50e94a.tar.gz
'+' is more shoter and more readable in query parameters than '%20'
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 9ca4a6a4..07023e81 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -545,6 +545,7 @@ sub html_footer {
 
         my $cc = uri_escape_utf8(join(',', sort values %cc));
         my $href = "mailto:$to?In-Reply-To=$irt&Cc=${cc}&Subject=$subj";
+        $href =~ s/%20/+/g;
 
         my $srch = $ctx->{srch} if $ctx;
         my $upfx = $full_pfx ? '../' : '../../';