0
I have a problem when the user confirms an email by the standard Asp registration. The user receives a link in html format and clicks on the link and the user gets an error from the application server.
Server Error in Application '/myapplication'. A potentially dangerous value Request.Querystring has been detected in the client
I have already set up webconfig in the form below and without success. I already have days working on it and do not solve it. Can help?
<system.web>
<customErrors mode="Off" />
<authentication mode="None" />
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime requestValidationMode="2.0" />
<pages validateRequest="false"></pages>
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
</system.web>
Have 1 example of querystring and how you recover it in the controller?
– Barbetta
querysrting is a standard email string for confirming the user’s email by Asp’s Entity. I no longer have the string, I have changed the situation by changing the body of the email to accept html and changed the code.
– Roberto Luiz Teixeira Rocha