if (Core.Utilities.IsQueryStringExists(url)) {url = url + "&IsAjax=true";}
else {url = url + "?IsAjax=true";}
var dfd = $.Deferred();
$.ajax({url: encodeURI(url),type: "GET",contentType: "application/json;odata=verbose",headers: {"accept": "application/json;odata=verbose"},
success: function (data) {dfd.resolve(data);},
error: function (jqXHR, textStatus, errorThrown) {dfd.reject(jqXHR, textStatus, errorThrown);}});
return dfd.promise();};
- When I test the url "http://domainName/Base/GetSubspecialities?parentId=94&IsAjax=true" . The firewall consider the traffic as attack .
Referrer
http://domainName/Base/GetSubspecialities?parentId=94&IsAjax=true
Attack
Unknown Content Type
Attack Category
Injection Attacks
Detail
Content-type="application/json"
- how Can I solve it ?