473,395 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

A potentially dangerous Request.Form

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 Validation, I would rather find the problem and HTML
encode myself.

I appreciate your help.

Alex
Nov 18 '05 #1
2 1442
Hi me again,

Regarding point 2) in my original post I was able to determine the root
cause of the problem:

<select name="ddlForms" onchange="__doPostBack('ddlForms','')"
language="javascript" id="ddlForms" style="Z-INDEX: 118; LEFT:
700px;POSITION: absolute; TOP: 0px">
<option value="<FORMS>">&lt;FORMS&gt;</option>
<option value="Vacation Request">Vacation Request</option>
<option value="Internal Job Application">Internal Job
Application</option></select>

The problem is in the line: <option value="<FORMS>">&lt;FORMS&gt;</option>
Apparently "<FORMS>" is the culprit

Can anyone suggest how to fix the code?

Thanks,
Alex
"Alex Munk" <am***@hotmail.com> wrote in message
news:4r*******************@news01.bloor.is.net.cab le.rogers.com...
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 Validation, I would rather find the problem and HTML
encode myself.

I appreciate your help.

Alex

Nov 18 '05 #2
http://www.tconsult.com/aspnet/secur...tially_dangero
us.aspx

try that...

-----Original Message-----
Hi me again,

Regarding point 2) in my original post I was able to determine the rootcause of the problem:

<select name="ddlForms" onchange="__doPostBack ('ddlForms','')"language="javascript" id="ddlForms" style="Z-INDEX: 118; LEFT:700px;POSITION: absolute; TOP: 0px">
<option value="<FORMS>"><FORMS></option>
<option value="Vacation Request">Vacation Request</option> <option value="Internal Job Application">Internal JobApplication</option></select>

The problem is in the line: <option value="<FORMS>"><FORMS></option>Apparently "<FORMS>" is the culprit

Can anyone suggest how to fix the code?

Thanks,
Alex
"Alex Munk" <am***@hotmail.com> wrote in message
news:4rFDb.48420 $e********@news01.bloor.is.net.cable.rogers.com...
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 thecomputer
generating the application this problem will be
resolved?
2) How can I find out what the offending code is doing? I really do notwant
to disable Request Validation, I would rather find the

problem and HTML encode myself.

I appreciate your help.

Alex

.

Nov 18 '05 #3

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

Similar topics

2
by: Anil Kripalani | last post by:
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...
1
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...
1
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,...
6
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...
1
by: veenakj | last post by:
Hi Code snippet -------------- strErrMsg = "Could not find a part of the path \"C:\\Temp\\data\\Test.xml\"." } Server.Transfer("Message.aspx?errormsg=" + Server.UrlEncode(lsErrMsg));...
1
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,...
2
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...
1
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...
2
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.