79680192

Date: 2025-06-26 09:01:41
Score: 1
Natty:
Report link

Place your anti-forgery middleware after the UseStatusCodePagesWithReExecute and it will work (tested on .Net 9) :

app.UseStatusCodePagesWithReExecute("/404");
app.UseAntiforgery();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Asmaa B.