News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Red X instead of image in some Browsers?

Started by slider11111, April 12, 2014, 12:36:50 AM

Previous topic - Next topic

a10

Hello, 1st backup index.php. Using a good editor (notepad++) remove

header('X-Content-Type-Options: nosniff');

upload index.php and see how it goes. Worked fine here.

QuoteI think that someone made a little script to update  the db
Would also be interested in this.

2.0.19, php 8.0.23, MariaDB 10.5.15. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

slider11111

a10 I removed that code and it's now repaired!!! It works in the dreaded IE now!!!  Thanks  :)

Kindred

You have, however, removed a security protection by doing so...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

a10

^^^ nosniff line had to go, as thousands of perfectly normal pictures (+ many avatars) from my 1.x forum turned into red x's in IE after upgrade to 2.x, result was a crippled forum for all IE users. As it stands now, 'nosniff' + IE = attachments with zero security issues are treated as if there is some issues. Is this a IE or SMF problem, or what is going on exactly? Thanks.
2.0.19, php 8.0.23, MariaDB 10.5.15. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

slider11111


Advertisement: