We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad612bb + 110f875 commit 0e6f76eCopy full SHA for 0e6f76e
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/RemoteFlowSources.qll
@@ -77,14 +77,16 @@ class ODataServiceModel extends UI5ExternalModel {
77
)
78
or
79
/*
80
- * A constructor call to sap.ui.model.odata.v2.ODataModel.
+ * A constructor call to sap.ui.model.odata.v2.ODataModel or sap.ui.model.odata.v4.ODataModel.
81
*/
82
83
this instanceof NewNode and
84
(
85
exists(RequiredObject oDataModel |
86
oDataModel.asSourceNode().flowsTo(this.getCalleeNode()) and
87
- oDataModel.getDependency() = "sap/ui/model/odata/v2/ODataModel"
+ oDataModel.getDependency() in [
88
+ "sap/ui/model/odata/v2/ODataModel", "sap/ui/model/odata/v4/ODataModel"
89
+ ]
90
91
92
this.getCalleeName() = "ODataModel"
0 commit comments