1
Vote

HttpRequestValidationException when inserting html inside forms inputs

description

Because of this reported error http://stackoverflow.com/q/32651772/3202657

I suggest change the code on class CaptchaMvc.Infrastructure.RequestParameterContainer line 59 from:

return _requestBase.Params.AllKeys.Any(s => s.Equals(key));

too:

return _requestBase.QueryString.AllKeys.Any(s => s.Equals(key));

Changing the Params to QueryString the framwork will not raise the validation exception

comments