about summary refs log tree commit homepage
path: root/lib/PublicInbox/Repobrowse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Repobrowse.pm')
-rw-r--r--lib/PublicInbox/Repobrowse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Repobrowse.pm b/lib/PublicInbox/Repobrowse.pm
index 86778514..6fc060ae 100644
--- a/lib/PublicInbox/Repobrowse.pm
+++ b/lib/PublicInbox/Repobrowse.pm
@@ -73,7 +73,7 @@ sub no_tslash {
         }
         my $url = $base . $uri . $qs;
         [ 301,
-          [ Location => $url, 'Content-Type' => 'text/plain' ],
+          [ 'Location', $url, 'Content-Type', 'text/plain' ],
           [ "Redirecting to $url\n" ] ]
 }