]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: uri_escape subject
authorEric Wong <e@80x24.org>
Sun, 27 Apr 2014 01:56:39 +0000 (01:56 +0000)
committerEric Wong <e@80x24.org>
Sun, 27 Apr 2014 04:49:14 +0000 (04:49 +0000)
This hopefully improves compatibility with mailers

lib/PublicInbox/View.pm

index b2f2a7fd5851a404965a6b3ace5ffb8d1c318efc..663eff5b9ac496f6f71ea1a24d63922058b4557c 100644 (file)
@@ -216,6 +216,7 @@ sub html_footer {
        my $irp = uri_escape($mime->header_obj->header_raw('Message-ID') || '');
        delete $cc{$to};
        $to = uri_escape($to);
+       $subj = uri_escape($subj);
 
        my $cc = uri_escape(join(',', values %cc));
        my $href = "mailto:$to?In-Reply-To=$irp&Cc=${cc}&Subject=$subj";