Skip to content

Commit 727a7e8

Browse files
geoffw0subatoi
andauthored
Update swift/ql/src/queries/Security/CWE-020/MissingRegexAnchor.qhelp
Co-authored-by: Ben Ahmady <[email protected]>
1 parent b3fa59d commit 727a7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/src/queries/Security/CWE-020/MissingRegexAnchor.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Sanitizing untrusted input with regular expressions is a
1010
common technique, but malicious actors may be able to embed one of the
11-
allowed patterns in an unexpected location. To prevent against this,
11+
allowed patterns in an unexpected location. To prevent this,
1212
you should use anchors in your regular expressions,
1313
such as <code>^</code> or <code>$</code>.
1414

0 commit comments

Comments
 (0)