Skip to content

Commit edddc01

Browse files
committed
JS: Work around an issue with overlay-invariance
1 parent 0807c69 commit edddc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Templating.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Templating {
3333
*/
3434
bindingset[prefix]
3535
string getDelimiterMatchingRegexpWithPrefix(string prefix) {
36-
result = "(?s)" + prefix + "(" + concat("\\Q" + getADelimiter() + "\\E", "|") + ").*"
36+
result = "(?s)" + prefix + "(" + strictconcat("\\Q" + getADelimiter() + "\\E", "|") + ").*"
3737
}
3838

3939
/** A placeholder tag for a templating engine. */

0 commit comments

Comments
 (0)