juunas11 / aspnetcore-security-headers

Middleware for adding security headers to an ASP.NET Core application.
MIT License
264 stars 42 forks source link

The GetNonce method returns an incorrect value during an ajax request #75

Open Lukas-26 opened 11 months ago

Lukas-26 commented 11 months ago

Hello Juunas, Do you know the reason why the GetNonce method returns a different nonce value than in the request? The request is invoked by ajax. GetNonce() during the request: Screenshot_2

Response: Screenshot_3

Is this an issue...? Thank a lot for your time, Lukas