We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
setSanitizeContent
setSanitizeValue
1 parent 8f67f25 commit 72dc1d0Copy full SHA for 72dc1d0
1 file changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/UI5View.qll
@@ -864,7 +864,9 @@ class UI5Control extends TUI5Control {
864
or
865
/* 3. `sanitizeContent` attribute is set programmatically using a setter. */
866
exists(CallNode node |
867
- node = this.getAReference().getAMemberCall("setS" + propName.suffix(1)) and
+ node =
868
+ this.getAReference()
869
+ .getAMemberCall("set" + propName.prefix(1).toUpperCase() + propName.suffix(1)) and
870
not node.getArgument(0).mayHaveBooleanValue(val.booleanNot())
871
)
872
}
0 commit comments