Skip to content

Commit 303408b

Browse files
committed
remove duplicate char
1 parent 354954c commit 303408b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/security/performance/ReDoSUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ private module SuffixConstruction {
915915
*/
916916
pragma[noinline]
917917
private string relevant(RegExpRoot root) {
918-
result = ["a", "9", "|", "\n", " ", "|", "\n", "Z"] // must include all the strings from `hasSimpleRejectEdge`.
918+
result = ["a", "9", " ", "|", "\n", "Z"] // must include all the strings from `hasSimpleRejectEdge`.
919919
or
920920
exists(InputSymbol s | belongsTo(s, root) | result = intersect(s, _))
921921
}

0 commit comments

Comments
 (0)