Skip to content

Commit 8db974b

Browse files
authored
Merge branch 'main' into jeongsoolee09/fix-ui5-fn
2 parents 6f8a960 + 0e6f76e commit 8db974b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,16 @@ class ODataServiceModel extends UI5ExternalModel {
113113
)
114114
or
115115
/*
116-
* A constructor call to `sap.ui.model.odata.v2.ODataModel`.
116+
* A constructor call to sap.ui.model.odata.v2.ODataModel or sap.ui.model.odata.v4.ODataModel.
117117
*/
118118

119119
this instanceof NewNode and
120120
(
121121
exists(RequiredObject oDataModel |
122122
oDataModel.asSourceNode().flowsTo(this.getCalleeNode()) and
123-
oDataModel.getDependency() = "sap/ui/model/odata/v2/ODataModel"
123+
oDataModel.getDependency() in [
124+
"sap/ui/model/odata/v2/ODataModel", "sap/ui/model/odata/v4/ODataModel"
125+
]
124126
)
125127
or
126128
this.getCalleeName() = "ODataModel"

0 commit comments

Comments
 (0)