You need to sign in to do that
Don't have an account?
Pratik Raut 14
Client Potential XSS In Salesforce Security Review
onChange: function(changeItem,o) {
if($(o).prop('checked')){
var encodedAgencyText = 'Are you sure you wish to remove '+js_attr_encode(o[0].value) +' and all it\'s associated clauses?';
clauseDeleteCoinfirm('agnecyClauseId', encodedAgencyText);
}
I am getting Client Potential XSS error on below line of above function var encodedAgencyText = 'Are you sure you wish to remove '+js_attr_encode(o[0].value) +' and all it\'s associated clauses?';
Any solution ??
Thanks and regards
Pratik
if($(o).prop('checked')){
var encodedAgencyText = 'Are you sure you wish to remove '+js_attr_encode(o[0].value) +' and all it\'s associated clauses?';
clauseDeleteCoinfirm('agnecyClauseId', encodedAgencyText);
}
I am getting Client Potential XSS error on below line of above function var encodedAgencyText = 'Are you sure you wish to remove '+js_attr_encode(o[0].value) +' and all it\'s associated clauses?';
Any solution ??
Thanks and regards
Pratik