We are currently testing the upgrade from 23.2 to 24.2.3. One IG returns this JS error and doesn't display anything:
DOMPurify cannot be found
It's coming from util.js
:
sanitizeHtml: html => {
if ( window.DOMPurify ) {
return window.DOMPurify.sanitize( html, {
// extend the existing array of allowed attributes
ADD_ATTR: [ "target" ]
} );
} else {
throw new Error( "DOMPurify cannot be found." );
}
}
I really have no idea what this means and why this is suddenly a problem for one IG (found so far anyway).
Does anyone have any idea? (This forum is usually faster than Oracle Support :-))