]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: avoid redirect to reply endpoint
authorEric Wong <e@80x24.org>
Wed, 18 May 2016 02:34:46 +0000 (02:34 +0000)
committerEric Wong <e@80x24.org>
Wed, 18 May 2016 02:34:36 +0000 (02:34 +0000)
Oops, but perhaps the "reply" endpoint should be embedded
into the permalink message view itself to reduce URLs.

lib/PublicInbox/View.pm

index 2513cd0b912326cc5a2d28d1e7cdc8697cbf3dfd..2ac2a93989f9c48a694225215aeff7405faa1dc4 100644 (file)
@@ -132,7 +132,7 @@ sub index_entry {
                index_walk($fh, $_[0], $enc, \$part_nr);
        });
        $mime->body_set('');
-       $rv = "\n" . html_footer($hdr, 0, $ctx, "$path$href/R");
+       $rv = "\n" . html_footer($hdr, 0, $ctx, "$path$href/R/");
 
        if (defined $irt) {
                unless (defined $parent_anchor) {