summaryrefslogtreecommitdiffstats
path: root/showattachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showattachment.cgi')
-rwxr-xr-xshowattachment.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/showattachment.cgi b/showattachment.cgi
index 73cb6eb58..03fb49bb9 100755
--- a/showattachment.cgi
+++ b/showattachment.cgi
@@ -36,7 +36,9 @@ my $id = $cgi->param('attach_id');
detaint_natural($id) if defined $id;
$id ||= "";
-print $cgi->redirect(-location=>"attachment.cgi?id=$id",
- -status=>'301 Permanent Redirect');
+print $cgi->redirect(
+ -location => "attachment.cgi?id=$id",
+ -status => '301 Permanent Redirect'
+);
exit;