473,563 Members | 2,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why Getting 'A Potentially Dangerous Request...' Error?

When a user of our ASP.NET 1.1 application submits a form with the phrase
'manuscript:' in a text field, ASP returns the error 'A potentially
dangerous Request.Form value was detected from the client
(182:BodyField= "manuscript : hello").' Why is this seemingly innocent text
triggering this error?

Thanks,
Krip
Nov 18 '05 #1
2 1411
"...manuscr ipt: ....."
is similar to
".....javascrip t: ....."
Thinks it's a javascript function
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Anil Kripalani" <an***@broden.c om> wrote in message
news:ub******** ********@TK2MSF TNGP10.phx.gbl. ..
When a user of our ASP.NET 1.1 application submits a form with the phrase
'manuscript:' in a text field, ASP returns the error 'A potentially
dangerous Request.Form value was detected from the client
(182:BodyField= "manuscript : hello").' Why is this seemingly innocent text
triggering this error?

Thanks,
Krip

Nov 18 '05 #2
To be clear-- there are quite a few protocol strings (javascript: vbscript:
mocha: etc etc) which are supported by the universe of browsers. The HTML
InputValidation routines are pretty broad in order to avoid missing things.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eu******** ******@TK2MSFTN GP11.phx.gbl...
"...manuscr ipt: ....."
is similar to
".....javascrip t: ....."
Thinks it's a javascript function
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Anil Kripalani" <an***@broden.c om> wrote in message
news:ub******** ********@TK2MSF TNGP10.phx.gbl. ..
When a user of our ASP.NET 1.1 application submits a form with the phrase 'manuscript:' in a text field, ASP returns the error 'A potentially
dangerous Request.Form value was detected from the client
(182:BodyField= "manuscript : hello").' Why is this seemingly innocent text triggering this error?

Thanks,
Krip


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1450
by: Alex Munk | last post by:
Hi All, I read the KB821343 article on this subject and I am still a bit confused about a couple of things: 1) Am I to understand that if I install .NET frame work 1.1 on the computer generating the application this problem will be resolved? 2) How can I find out what the offending code is doing? I really do not want to disable Request...
5
334
by: Boris | last post by:
All, When i use .net FRamework 1.1, for my web application, i get an error saying "A potentially dangerous querystring was detected from the client...." I have read the posts related to this and it seems this is due to some SECURITY FEATURE in 1.1!!! My code used to work in 1.0!!! now when the web server gets upgraded to 1.1, my app....
1
5856
by: John Morgan | last post by:
I am attempting to use a try/catch block to trap a querystring which is caught by ValidateRequest="true" in the @page directive A simple example of the blockthat does not work is Try routeID = Request.QueryString("routeID") Catch response.Write("a dangerous query string has been entered") End Try
1
5407
by: angus | last post by:
Dear All, how to try-catch "A potentially dangerous Request.Form value was detected from the client (txtUserName="<asdf")." this exception? i've set the debugger in the Page_InIt function, but this page is shown before the Page_init function. i know that i can set validateRequest="false" in my page, but how can i
6
1769
by: STech | last post by:
If data you post back contains the following string on<<any sequence of characters>>= example: on2q3asdf= The page will throw the following exception: A potentially dangerous Request.Form value was detected from the client
1
3898
by: Sergey Zuyev | last post by:
Hello all I have simple edit form. When user saves data that contains restricted characters such as (< , etc.) , regular expression validator will display a warning message. It all works fine, but if users decides to exit the form using Cancel button then error occurs: A potentially dangerous Request.Form value was detected from the client....
2
1756
by: arun | last post by:
Hi I want to store the text from a TextBox that contains <br, *, $ etc.to sql server. But it shows me an error message "A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$Comments="...rts from: <br>14:15 Bus Stop 1..."). " If the text does not contain these special characters it gets...
1
1780
by: djmc | last post by:
Using the asp.net button control (and I assume others), I place the phrase "Don't Save" in the .Text field. The button displays without any problems, but upon postback, the server responds with "A potentially dangerous Request.Form value was detected". I've determined this problem is due to the single quote in the string. My main problem...
2
4166
by: Steve Richter | last post by:
getting this "potentially dangerous Request.Form value was detected" exception with a textbox which I have populated with some source code. I think I am getting the exception when I click OK on the web page, but that is one of my question, so I am not sure ;) I am reading how to disable request validation,...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.