Firegarden opened a new issue #1739:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1739


   The javascript rewrites on the page are not carrying over the pre-existing 
nonce attribute and value.
   
   eg. source script  `<script nonce="a2fa9f8ec70cf6b554e0b13dd22d41c1" 
src="asset/script/domready.js"></script>`
   
   Pagespeed rewrites the scripts but fails to maintain the nonce 
   
   eg. result `<script data-pagespeed-no-defer>(function(){`
   
   the solution is to carry over the nonce so the page can execute the script 
   
   eg. solution `<script nonce="a2fa9f8ec70cf6b554e0b13dd22d41c1" 
data-pagespeed-no-defer>(function(){`
   
   Thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to