Skip to content

Commit 3bebd70

Browse files
committed
Handle AnyMemberDeep and ArrayElementDeep in encodeContent
1 parent 6c0c67d commit 3bebd70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/FlowSummaryPrivate.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ private string encodeContentAux(ContentSet cs, string arg) {
263263
result = "Awaited"
264264
or
265265
cs = MkAwaited() and result = "Awaited" and arg = ""
266+
or
267+
cs = MkAnyPropertyDeep() and result = "AnyMemberDeep" and arg = ""
268+
or
269+
cs = MkArrayElementDeep() and result = "ArrayElementDeep" and arg = ""
266270
}
267271

268272
/**

0 commit comments

Comments
 (0)