Skip to content

Commit 77e5305

Browse files
Update javascript/ql/src/Security/CWE-020/IncompleteHostnameRegExp.ql
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
1 parent 37aa85f commit 77e5305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/Security/CWE-020/IncompleteHostnameRegExp.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ predicate isLikelyCaptureGroup(RegExpGroup group) {
4343
* Holds if `seq` contains two consecutive dots `..` or escaped dots.
4444
*
4545
* At least one of these dots is not intended to be a subdomain separator,
46-
* so we avoid flagging the pattenr in this case.
46+
* so we avoid flagging the pattern in this case.
4747
*/
4848
predicate hasConsecutiveDots(RegExpSequence seq) {
4949
exists(int i |

0 commit comments

Comments
 (0)