about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-12 22:41:10 +0000
committerEric Wong <e@80x24.org>2015-08-12 22:41:42 +0000
commit2981d6929f400630e575bcc8fc1851bc531e73e9 (patch)
tree288eed02c331341ccd9daeda455c0804996f9d70 /lib/PublicInbox
parenteb7d646477c5b514c340f66da1be04c754879e17 (diff)
downloadpublic-inbox-2981d6929f400630e575bcc8fc1851bc531e73e9.tar.gz
This fixes a minor test failure in t/cgi.t

Tested with perl 5.18.2-2ubuntu1 on Ubuntu 14.04.3 LTS
Diffstat (limited to 'lib/PublicInbox')
-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 c0f3e9f9..30759a30 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -349,7 +349,7 @@ sub html_footer {
         $to = uri_escape_utf8($to);
         $subj = uri_escape_utf8($subj);
 
-        my $cc = uri_escape_utf8(join(',', values %cc));
+        my $cc = uri_escape_utf8(join(',', sort values %cc));
         my $href = "mailto:$to?In-Reply-To=$irp&Cc=${cc}&Subject=$subj";
 
         my $idx = $standalone ? " <a\nhref=\"../\">index</a>" : '';