Page 1 of 1

Content Security Policy blocking upgrade

Posted: 08 Oct 2020, 13:59
by mnemonicator
Hello, don't understand why, but for some reason i see that admin/install.php looks wrong, when i open developer tools in chrome i found many red lines with next comments -
Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline'". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.
I test this many times in UAT environment and don't have this problem, the only one difference between Prod and UAT is that Prod is available from internet.

Here is a screenshot - https://1drv.ms/u/s!AsfZfWuNH0Qvgd1iULU ... w?e=KsEJmV

Any ideas?

thank you.

Re: Content Security Policy blocking upgrade

Posted: 12 Oct 2020, 15:58
by cas
Search for CSP here, you will find your answer :mrgreen:

Re: Content Security Policy blocking upgrade

Posted: 26 Oct 2020, 13:53
by mnemonicator
thx.

$g_path variable was set in a config_inc.php and tis fix my problem.