My current Chrome Browser version (as of today, see version number below) gives me this error message twice (locations: VM523:29
and sitemap.xml:1
) in the developer console, when I request my sitemap.xml
from here:
Refused to apply inline style because it violates the following
Content Security Policy directive: "style-src 'self'".
Either the 'unsafe-inline' keyword, a hash
('sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='),
or a nonce ('nonce-...') is required to enable inline execution.
The sitemap.xml
has no styles (it's generated by Zola, a static site generator written in Rust), Firefox 119.0 (64-bit)
does not report any problem (but it says: This XML file does not appear to have any style information associated with it.
). Even the Google's CSP evaluator cannot find any problems.
Is this a problem with Google's Chrome Browser, or it there anything I can do to fix the problem?
Chrome version: Version 118.0.5993.117 (Official Build) (64-bit) on Ubuntu Linux Desktop 22.04 LTS.