Re: reading from text area throwing exception with <p>
- From: Ray Booysen <rj_booysen_NS@xxxxxxxxxx>
- Date: Mon, 21 Aug 2006 13:33:43 +0100
Yup, that is what ASP.NET will give you.
Go to Google.
Type "A potentially dangerous Request.Form value was detected from " into the search bar
and click search.
Tons of articles about this.
Vikas Kumar wrote:
propertyDescription += "<br>" + lblpropertyDescription.Text; //here i am reading some text from text area.
i test wrting "p" in my text area it wrks fine but when i write
<p> in my text area it gives the following error
Error Message:A potentially dangerous Request.Form value was detected from the client (lblpropertyDescription="
"). Stack Trace: 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_Form() 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)
- Follow-Ups:
- Re: reading from text area throwing exception with <p>
- From: Vikas Kumar
- Re: reading from text area throwing exception with <p>
- References:
- reading from text area throwing exception with <p>
- From: Vikas Kumar
- reading from text area throwing exception with <p>
- Prev by Date: strange server-side validation postback
- Next by Date: How to render some HTML in TableCell
- Previous by thread: reading from text area throwing exception with <p>
- Next by thread: Re: reading from text area throwing exception with <p>
- Index(es):
Relevant Pages
|