We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b759d commit 5a3aed3Copy full SHA for 5a3aed3
1 file changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/UI5View.qll
@@ -684,7 +684,10 @@ class XmlView extends UI5View instanceof XmlFile {
684
}
685
686
private newtype TUI5Control =
687
- TXmlControl(XmlElement control) { control.getFile().getName().matches("%.view.xml") } or
+ TXmlControl(XmlElement control) {
688
+ control.getFile().getName().matches("%.view.xml") and
689
+ control.getNamespace().toString().matches("%sap%")
690
+ } or
691
TJsonControl(JsonObject control) {
692
exists(JsonView view | control.getParent() = view.getRoot().getPropValue("content"))
693
} or
0 commit comments