We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f8a960 + 0e6f76e commit 8db974bCopy full SHA for 8db974b
1 file changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/RemoteFlowSources.qll
@@ -113,14 +113,16 @@ class ODataServiceModel extends UI5ExternalModel {
113
)
114
or
115
/*
116
- * 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.
117
*/
118
119
this instanceof NewNode and
120
(
121
exists(RequiredObject oDataModel |
122
oDataModel.asSourceNode().flowsTo(this.getCalleeNode()) and
123
- oDataModel.getDependency() = "sap/ui/model/odata/v2/ODataModel"
+ oDataModel.getDependency() in [
124
+ "sap/ui/model/odata/v2/ODataModel", "sap/ui/model/odata/v4/ODataModel"
125
+ ]
126
127
128
this.getCalleeName() = "ODataModel"
0 commit comments