File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import advanced_security.javascript.frameworks.ui5.UI5WebcomponentsReact
1111 */
1212class ExcludedSource extends DomBasedXss:: Sanitizer {
1313 ExcludedSource ( ) {
14- exists ( UseRefDomValueSource source |
14+ exists ( CustomUseRefDomValueSource source |
1515 // exclude components with this name from @ui5/webcomponents-react only
1616 isRefAssignedToUI5Component ( source ) and
1717 source .getElement ( ) .getName ( ) in [
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ predicate isRefAssignedToUI5Component(UseRefDomValueSource source) {
4949 * A custom version of the `React::UseRefDomValueSource` in the out of the box libraries
5050 * this version exposes its JSX element and also is not private
5151 */
52- class UseRefDomValueSource extends DOM:: DomValueSource:: Range {
52+ class CustomUseRefDomValueSource extends DOM:: DomValueSource:: Range {
5353 JsxElement jsx ;
5454
55- UseRefDomValueSource ( ) {
55+ CustomUseRefDomValueSource ( ) {
5656 exists ( RefAttribute attrib |
5757 attrib .getValue ( ) .flow ( ) .getALocalSource ( ) .getAPropertyRead ( "current" ) = this and
5858 jsx .getAnAttribute ( ) = attrib
You can’t perform that action at this time.
0 commit comments