What do you do about common English text firing off the CRS rules?
e.g. look at the phrases here, they all fire off a CRS alert. They are examples of reasonable text that a user could enter, and clearly I can just switch off the rules, but then the rules must be relevant for most/some people or they wouldn't exist. A quote in someone's name is very common.
Just to be clear, I can switch off the rules, I just can't understand how they work in normal circumstances
var data = { model: { someText: "mark o'brien o'reilly" } };
//var data = { model: { someText: "mark o\'brien o\'reilly" } };
//var data = { model: { someText: "Area 5 or 7" } };
//var data = { model: { someText: "Examples of quotes are:\"To be...\", \"Never before...\"" } };
//var data = { model: { someText: "test <em><strong>1</strong></em>" } };
//var data = { model: { someText: ":\"" } };
//var data = { model: { someText: "or 1=1" } };
//var data = { model: { someText: "<p>" } };
$.ajax({
type: 'POST',
url: "Test/Index",
contentType: 'application/json; charset=utf-8',
data: JSON.stringify(data),
success: function (result)
{
},
error(e)
{
alert('error')
}
});