Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba5747d

Browse files
committed
fix formatting
1 parent c6eaf19 commit ba5747d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

javascript/ql/src/Security/CWE-094/ExpressionInjection.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ private predicate isExternalUserControlledComment(string context) {
5252

5353
bindingset[context]
5454
private predicate isExternalUserControlledGollum(string context) {
55-
context.regexpMatch("\\bgithub\\s*\\.\\s*event\\s*\\.\\s*pages\\[[0-9]+\\]\\s*\\.\\s*page_name\\b") or
55+
context
56+
.regexpMatch("\\bgithub\\s*\\.\\s*event\\s*\\.\\s*pages\\[[0-9]+\\]\\s*\\.\\s*page_name\\b") or
5657
context.regexpMatch("\\bgithub\\s*\\.\\s*event\\s*\\.\\s*pages\\[[0-9]+\\]\\s*\\.\\s*title\\b")
5758
}
5859

0 commit comments

Comments
 (0)