Skip to content

Commit 226e066

Browse files
committed
use strictconcat instead of concat
1 parent 6f54bb1 commit 226e066

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/Expr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ private string getConcatenatedString(Expr add) {
15571557
exists(getConstantString(leaf))
15581558
) and
15591559
result =
1560-
concat(Expr leaf |
1560+
strictconcat(Expr leaf |
15611561
leaf = getAnAddOperand*(add)
15621562
|
15631563
getConstantString(leaf) order by leaf.getFirstToken().getIndex()

0 commit comments

Comments
 (0)