R
Ritesh
Hi
We found out about this weird problem that happens on the encrypted string that we send across as a query string on the url. The page shows the erro
"The page has encountered an error...." and when I go to the the view source it displays this message
<!-- Error Information
Error: A potentially dangerous Request.QueryString value was detected from the client (aub="<!-- Error Informati..."
StackTrace: at System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName
at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName
at System.Web.HttpRequest.get_QueryString(
at System.Web.UI.Page.GetCollectionBasedOnMethod(
at System.Web.UI.Page.DeterminePostBackMode(
at System.Web.UI.Page.ProcessRequestMain(
at System.Web.UI.Page.ProcessRequest(
at System.Web.UI.Page.ProcessRequest(HttpContext context
at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute(
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously
--
Now I know that this is encountered when the string has some invalid characters, but we checked the string that is generated due to the encryption
The real string is BA\cjg1760
and the encrypted string i
yqtlVNykIrXno79onQdGxg=
We are also encoding the string by using the Server.UrlEncode statement. the string is
yqtlVNykIrXno79onQdGxg%3d%3d
after the encoding
I have checked for invalid or dangerous (script type characters) in the string but everything looks good. Now this error occurs only on thius one user out of almost 2000 users
Another weird thing is , if we do another Server.UrlEncode on the string and then decode it while retreiving, it works fine..
If any of you have encountered similar problems, please let me know what workaround you used. Right now only thing i can think of is use th
<pages validateRequest="false"> statement in the Web.confi
thanks in advance
Ritesh
We found out about this weird problem that happens on the encrypted string that we send across as a query string on the url. The page shows the erro
"The page has encountered an error...." and when I go to the the view source it displays this message
<!-- Error Information
Error: A potentially dangerous Request.QueryString value was detected from the client (aub="<!-- Error Informati..."
StackTrace: at System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName
at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName
at System.Web.HttpRequest.get_QueryString(
at System.Web.UI.Page.GetCollectionBasedOnMethod(
at System.Web.UI.Page.DeterminePostBackMode(
at System.Web.UI.Page.ProcessRequestMain(
at System.Web.UI.Page.ProcessRequest(
at System.Web.UI.Page.ProcessRequest(HttpContext context
at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute(
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously
--
Now I know that this is encountered when the string has some invalid characters, but we checked the string that is generated due to the encryption
The real string is BA\cjg1760
and the encrypted string i
yqtlVNykIrXno79onQdGxg=
We are also encoding the string by using the Server.UrlEncode statement. the string is
yqtlVNykIrXno79onQdGxg%3d%3d
after the encoding
I have checked for invalid or dangerous (script type characters) in the string but everything looks good. Now this error occurs only on thius one user out of almost 2000 users
Another weird thing is , if we do another Server.UrlEncode on the string and then decode it while retreiving, it works fine..
If any of you have encountered similar problems, please let me know what workaround you used. Right now only thing i can think of is use th
<pages validateRequest="false"> statement in the Web.confi
thanks in advance
Ritesh