473,397 Members | 1,972 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,397 software developers and data experts.

responseEncoding

Hello!

I am building a russian web site. I set encoding to windows-1251 in
web.config file

<globalization requestEncoding="windows-1251"
responseEncoding="windows-1251" fileEncoding="windows-1251" culture="ru-RU"
uiCulture="ru-RU" />

The problem is that every time I submit a form, I get following error
message:

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

Does anybody knows how to solve this problem?

Thank you!
James

Nov 19 '05 #1
1 1541
This is aying that something that looks like a XSS attack has been posted
to the website. I'm not sure what in that encoding is causing the problem,
but you can disable this security check by setting validateRequest=false.
Here are the docs:

http://msdn.microsoft.com/library/de...gessection.asp

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hello!

I am building a russian web site. I set encoding to windows-1251 in
web.config file

<globalization requestEncoding="windows-1251"
responseEncoding="windows-1251" fileEncoding="windows-1251"
culture="ru-RU" uiCulture="ru-RU" />

The problem is that every time I submit a form, I get following error
message:

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

Does anybody knows how to solve this problem?

Thank you!
James


Nov 19 '05 #2

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

Similar topics

2
by: Navanith | last post by:
Hi, I wrote a simple aspx page that dumps query string to the browser. Following is the globalization section in web.config <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
6
by: Calvin Lai | last post by:
Does anyone know the difference and usage of them? Great thanks!
9
by: Mark | last post by:
I've run a few simple tests looking at how query string encoding/decoding gets handled in asp.net, and it seems like the situation is even messier than it was in asp... Can't say I think much of the...
1
by: Tom | last post by:
Hi, I set the ResponseEncoding="UTF-8" for the aspx page. I created a web user control ascx page which also needs ResponseEncoding="UTF-8". I added the following lines of code to the aspx...
4
by: tshad | last post by:
I am having trouble with links in my DataGrid. I have Links all over my page set to smaller and they are consistant all over the page in both Mozilla and IE, except for the DataGrid. Here is a...
4
by: Daatmor | last post by:
I saved my aspx with Encoding (Chinese Tranditional (Big5) - Codepage 950) and I had set codepage="950" in Page tag. The content rendered incorrect (all text changed to symbols), but some content...
4
by: Henke | last post by:
Hi I'm building an globalized application (english, swedish and russian languages) and have a few questions: 1. In order to see the russian characters correct I have to set the requestEncoding...
8
by: Ondrej Srubar | last post by:
Hello, in the Web.config I have <globalization requestEncoding="utf-8" responseEncoding="utf-8" />, but for one page I need to set the requestEncoding="windows-1250". If I use <%@Page...
1
by: smarttechie | last post by:
hi all i have created c# windows application that extracts xml data from diff website using streamreader. and i got the output. but when i want to convert it into xml document. its giving me...
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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,...
0
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...

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.