Questions tagged [validate-request]
37 questions
0
votes
1 answer
why the AntiXss and ValidateRequest ="true" is not working combinely?
I am trying to avoid an cross side scripting in my Application but my requirement is i have to save the data including the script to my database but when displaying the same data it it should be visible as a text not as a script for eg:
Step 1 : i…

Mak
- 1
- 3
0
votes
2 answers
ValidateRequest per control
My ASP.NET page contains "ValidateRequest = true". However, there is one textbox in the page for which I don't want ASP.NET to validate. Is there a way to make it false for that one control? If there isn't, is there a way to ignore the "Potential…

XSL
- 2,965
- 7
- 38
- 61
0
votes
1 answer
ASP.NET: A potentially dangerous Request.Form value was detected from the client
I have a client that claims to get the server error "A potentially dangerous Request.Form value was detected from the client"
...and this is likely to be that html is entered and something I need to fix a better way of managing than…

Niels Bosma
- 11,758
- 29
- 89
- 148
0
votes
1 answer
How to allow special chars in form for a specific page?
I saw a lot of similar questions here, but no answer worked for me. I have a site (MVC4) with a search function, the search function should accept any character, but only the search form, the rest of the site should work with MVC4 default…

maiconmm
- 311
- 4
- 16
0
votes
1 answer
ValidateRequest at Model level
I need to figure out a way to set ValidateRequest at model...I understand that I could set ValidateRequest to false at the web config level...but I don't want to do so at the application level, I rather prefer doing it at model level, in WebForms we…

user153410
- 863
- 1
- 11
- 19
-1
votes
1 answer
java application GUI responds different after exporting
My application runs fine on eclipse IDE, but after exporting it, the fame won't repaint.
i am trying to rebuild the lay out of JFrame by removing two JPanels and add them again with more panels & here is my code:
the app first calls buildGUI()
…

Walid Kilany
- 1
- 1
-3
votes
2 answers
I need to validate a query string in asp.net
Dim objItems As clsItems
'Loads the pages with the Gridview and Infomation pretaining to the Item selected
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Dim qryItemNum As String =…

user2011977
- 29
- 2