Home All Groups Group Topic Archive Search About
Author
27 Apr 2005 5:31 AM
Vishesh Vyas
Hi,
I am getting the following error when i place "<a>" text in a text box and
submits the value..

"A potentially dangerous Request.Form value was detected from"

Thanks and Regards,
Vishesh.

Author
27 Apr 2005 10:30 AM
Kannan.V [MCSD.net]
hi vyas,

Thats because of the security feature provided by dotnet net to prevent
Cross-site scripting attacks, so for this certain characters will be
prevented from being passed through the text box.
If you wish to disable this feature set validateRequest=false in the Page
directive or in the configuration file.
else manually validate the text entered in the textbox before submitting.

Hope this helped
Kannan.V

Show quoteHide quote
"Vishesh Vyas" wrote:

> Hi,
> I am getting the following error when i place "<a>" text in a text box and
> submits the value..
>
> "A potentially dangerous Request.Form value was detected from"
>
> Thanks and Regards,
> Vishesh.
>
>
>