Skip to content

Commit 46c715d

Browse files
committed
Remove more restrictive potentially false xml view control condition
1 parent 5a3aed3 commit 46c715d

File tree

1 file changed

+1
-4
lines changed
  • javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5

1 file changed

+1
-4
lines changed

javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/UI5View.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,10 +684,7 @@ class XmlView extends UI5View instanceof XmlFile {
684684
}
685685

686686
private newtype TUI5Control =
687-
TXmlControl(XmlElement control) {
688-
control.getFile().getName().matches("%.view.xml") and
689-
control.getNamespace().toString().matches("%sap%")
690-
} or
687+
TXmlControl(XmlElement control) { control.getFile().getName().matches("%.view.xml") } or
691688
TJsonControl(JsonObject control) {
692689
exists(JsonView view | control.getParent() = view.getRoot().getPropValue("content"))
693690
} or

0 commit comments

Comments
 (0)