Error 'X-Content-Type: nosniff' is given since domoticz in beta mode

Moderator: leecollings

Post Reply
fennec62
Posts: 43
Joined: Sunday 26 October 2014 22:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Error 'X-Content-Type: nosniff' is given since domoticz in beta mode

Post by fennec62 »

Hi
i use personal frontpage

and since i pass in domoticz beta, frontpage doesn't work

Code: Select all

[Error] Did not load script at 'http://10.0.0.1:8080/json.htm?type=devices&plan=1&jsoncallback=jQuery31108805318969018416_1521367357609&_=1521367358460' because non script MIME types are not allowed when 'X-Content-Type: nosniff' is given.
When i write

http://10.0.0.1:8080/json.htm?type=devi ... 1367358460

directly in browser all is ok

I use frontpage with apache2

Since 5 days github of domoticz change

request_handler.cpp add
//browser support to prevent XSS
reply::add_header(&rep, "X-Content-Type-Options", "nosniff");
reply::add_header(&rep, "X-XSS-Protection", "1; mode=block");

Can you help me


Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest