Gah and a 302 in the non-exception-handling redirect too
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jan 2016 19:09:59 +0000 (20:09 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jan 2016 19:09:59 +0000 (20:09 +0100)
actions/attachment_thumbnail.php

index d1f9f2d00c7b754e188af5bd1c0e457860de5c44..3b8eec3ca674b364d914f321b279cb3cb7db268e 100644 (file)
@@ -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);
     }
 }