From 6924bb1d290643da7b4ffb13d9fbb09afaaba22c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 6 Jan 2016 20:09:59 +0100 Subject: [PATCH] Gah and a 302 in the non-exception-handling redirect too --- actions/attachment_thumbnail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/attachment_thumbnail.php b/actions/attachment_thumbnail.php index d1f9f2d00c..3b8eec3ca6 100644 --- a/actions/attachment_thumbnail.php +++ b/actions/attachment_thumbnail.php @@ -62,6 +62,6 @@ class Attachment_thumbnailAction extends AttachmentAction common_redirect($e->file->getUrl(), 302); } - common_redirect(File_thumbnail::url($thumbnail->filename)); + common_redirect(File_thumbnail::url($thumbnail->filename), 302); } } -- 2.39.5