T O P I C R E V I E W |
Aiwa |
Posted - 01/04/2006 : 07:41:38 Hi,
I'm receiving the following error after I try to login to ReportPortal:
A potentially dangerous Request.Cookies value was detected from the client (Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE&one=FALSE&mpp=FALSE"). Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Cookies value was detected from the client (Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE&one=FALSE&mpp=FALSE").
Source Error:
Line 30: var sReportType = "<%=sReportType%>"; Line 31: var sNewWindow = "<%=Application("NewWindow")%>"; Line 32: var sQueryString = "<%=Request.Params.Get("Query_String")%>"; Line 33: Line 34: function init(){
Source File: c:\inetpub\wwwroot\ReportPortal\design\view.aspx Line: 32
Stack Trace:
[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Cookies value was detected from the client (Microsoft.Sharepoint.AcceptHeaders="...&pps=TRUE&one=FALSE&mpp=FALSE").] System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +240 System.Web.HttpRequest.ValidateCookieCollection(HttpCookieCollection cc) +103 System.Web.HttpRequest.get_Cookies() +109 System.Web.HttpRequest.FillInParamsCollection() +57 System.Web.HttpRequest.get_Params() +132 ASP.view_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in c:\inetpub\wwwroot\ReportPortal\design\view.aspx:32 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27 System.Web.UI.Control.Render(HtmlTextWriter writer) +7 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 System.Web.UI.Page.ProcessRequestMain() +2112 System.Web.UI.Page.ProcessRequest() +217 System.Web.UI.Page.ProcessRequest(HttpContext context) +18 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Any help will be appreciated, Eric |
1 L A T E S T R E P L I E S (Newest First) |
admin |
Posted - 01/04/2006 : 23:03:16 Please try to update Line: 32 from this:
var sQueryString = "<%=Request.Params.Get("Query_String")%>";
to this:
var sQueryString = "";
Let me know if this helps! |
|
|