It's because nothing in here actually fixes the redirect problem.
Well, this info helped me a lot last year, but now problem came back I still struggle with a solution.
Has this actually fixed the problem for anyone? I use nginx and php-fpm, php-fpm can't be passed a .gif file, no matter how much someone tries, so this as far as I'm concerned doesn't fix anything.
I had several apparently "dodgy gifs" but they weren't dodgy at all. Just because that find returns results, don't freak out! Actually open the gif file in a text editor and have a look at the results. There's no secret code at all.
Could files other then .gif be effected by this? For instance, jpg, or even .attach files? I have just been hit by this, was curious if I should scan .attach and .thumb files as well as .jpg, etc.
The directories you need to add this file to is:
Thanks for the info on the .htaccess files in the relevant folders, however I have a slight problem in that I can't find the attachments directory.
Is there a workaround for this?