diff options
Diffstat (limited to 'showattachment.cgi')
-rwxr-xr-x | showattachment.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/showattachment.cgi b/showattachment.cgi index 82fc1ba9a..f535d5c9d 100755 --- a/showattachment.cgi +++ b/showattachment.cgi @@ -34,7 +34,7 @@ my $id = $cgi->param('attach_id'); detaint_natural($id) if defined $id; $id ||= ""; -print $cgi->redirect(-location=>"attachment.cgi?id=$id&action=view", +print $cgi->redirect(-location=>"attachment.cgi?id=$id", -status=>'301 Permanent Redirect'); exit; |