Jump to content

Recommended Posts

Posted

Hi

 

Just upgraded to V10 of hap and seem to be getting the below error when I try to log out.

 

 

Server Error in '/hap' Application.

--------------------------------------------------------------------------------

 

 

A potentially dangerous Request.Form value was detected from the client (ctl00$body$ctl00$htmlannouncement="

Initial content

Description: ASP.NET has detected data in the request that is potentially dangerous because it might include HTML markup or script. The data might represent an attempt to compromise the security of your application, such as a cross-site scripting attack. If this type of input is appropriate in your application, you can include code in a web page to explicitly allow it. For more information, see Request Validation in ASP.NET.

 

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$body$ctl00$htmlannouncement="

Initial content

 

Source Error:

 

 

 

[No relevant source lines]

 

 

Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_3prl0zdb.0.cs Line: 0

 

Stack Trace:

 

 

 

[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (ctl00$body$ctl00$htmlannouncement="

Initial content

System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +12689689

System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) +203

System.Web.HttpRequest.get_HasForm() +12693238

System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +146

System.Web.UI.Page.DeterminePostBackMode() +129

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12659043

System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12658553

System.Web.UI.Page.ProcessRequest() +119

System.Web.UI.Page.ProcessRequest(HttpContext context) +99

ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_Web_3prl0zdb.0.cs:0

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

Posted
Thanks, I am looking into this bug, thanks for logging it though. v10 is still in preview. If you navigate to another page it will let you sign out from there

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...