NetEscapades.AspNetCore.SecurityHeaders icon indicating copy to clipboard operation
NetEscapades.AspNetCore.SecurityHeaders copied to clipboard

Should not create a new nonce / headers for cached responses

Open lawrencek76 opened this issue 4 years ago • 0 comments

When using the Response Caching middleware new nonces & thus new headers are always generated leading to csp failures for cached responses since the nonce in the cached html is now different than the new header.

lawrencek76 avatar Dec 30 '21 18:12 lawrencek76