Questions tagged [validate-request]

37 questions
1
vote
2 answers

MVC Controller, A model with same equivalent incoming parameter, is invalid

I'm wonder how to ask this question, but somehow i have to... TL;DR. I had worked on a system, passed to me by someone else, running on someplace, that they came with their wired request and idea. so i said let do the X thing and make it done, but…
Hassan Faghihi
  • 1,888
  • 1
  • 37
  • 55
1
vote
0 answers

How to handle 'A potentially dangerous Request.Form value was detected from the client' error without turning ValidatePage off

I have a wysiwyg editor on my page and its content contains '<' character. Is there a way to handle this error without turning off validateRequest I am using a custom framework and my page is a webcontrol (.ascx) in it, so I can't turn off…
dvdmn
  • 6,456
  • 7
  • 44
  • 52
1
vote
0 answers

Advice on potentially dangerous Request.Form with Umlauts

My company security policy dictates that I cannot turn off the ValidateRequest attribute for our forms website. I am getting error reports from the site for potentially dangerous Request.Form input. I can see from all of the errors, that the danger…
Stuart
  • 1,544
  • 5
  • 29
  • 45
1
vote
1 answer

html select value 0 is in php validation always empty

I try to post the selected value and check if the variable is empty. html: