Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

How to disable subresouce integrity in a js file for newly added javascript function for testing at development server?

$
0
0

In asp.net webform page, below script element included

development server is enabled for subresouce integrity. I have added a new javascript function at pagevalidations.js. during the runtime, the function is not called, the following error is throwing

Failed to find a valid digest in the 'integrity' attribute for resource .../pagevalidations.js. the resouce has been blocked

How to disable 'integrity' feature for the particular script element for testing the functionality at development server ( so that, before production deployment, new hash key will be generated for the updated/new js function added pagevalidations.js file and will be updated in this script element accordingly)

Thanks in Advance.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>