summaryrefslogtreecommitdiffstats
path: root/showattachment.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-02 07:46:21 +0100
committerlpsolit%gmail.com <>2006-03-02 07:46:21 +0100
commit2ba411e9446f9d0ba1cd1e0f555387d346db5001 (patch)
tree58c79970e11b8c5dfa4c9e15ae7a28e006c9b507 /showattachment.cgi
parent620bb51b19bf6bf5c3bced099fc8a65aa1438267 (diff)
downloadbugzilla-2ba411e9446f9d0ba1cd1e0f555387d346db5001.tar.gz
bugzilla-2ba411e9446f9d0ba1cd1e0f555387d346db5001.tar.xz
Bug 281358: Attachment links in bugmail are different from the link in show_bug.cgi - Patch by timeless <timeless@bemail.org> r=LpSolit a=justdave
Diffstat (limited to 'showattachment.cgi')
-rwxr-xr-xshowattachment.cgi2
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;