Getting Incomplete multi-character sanitization error on code scan how do i resolve

Getting Incomplete multi-character sanitization error on code scan how do i resolve

sunilSRsunilSR Posts: 1Questions: 1Answers: 0

Hi ,

I am getting the below error when a code scan is run on datatables.js can someone help me how can i resolve it

Incomplete multi-character sanitization
Open in main 21 minutes ago
wwwroot/js/datatables/js/jquery.dataTables.js:1515

var _stripHtml = function ( d ) {
    return d.replace( _re_html, '' );

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    I've added this commit to address the issue. As I've noted in the commit log, I'm not seeing a way that it could be exploited at the moment, but I might have just missed something, and I see no reason not to add that extra protection, so I have done.

    Thanks for flagging this up.

    Allan

Sign In or Register to comment.