Dreamsorcerer opened a new issue #1619: Not respecting integrity attribute
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1619
 
 
   I have stylesheets included with an integrity attribute, such as:
   `<link rel="stylesheet" 
integrity="sha256-5fdBwaEAkIK97n+WbeomkIiEcrL4lG3AcFWR7uatT98=" 
crossorigin="anonymous" 
href="https://sambull.org/wp-content/themes/penscratch/style.css"; 
type="text/css" />`
   
   When Pagespeed optimises these stylesheets, it fails to rewrite the 
integrity attribute, meaning that the security check then fails and the browser 
doesn't load the CSS at all.
   
   Pagespeed needs to rewrite the integrity attribute, and ideally any matching 
hashes in the CSP header should also be rewritten.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to