Skip to content

Commit 1e0b78e

Browse files
paldepindgeoffw0
andauthored
Rust: Update regex injection description
Co-authored-by: Geoffrey White <[email protected]>
1 parent b48fd99 commit 1e0b78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/src/queries/security/CWE-020/RegexInjection.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ unexpectedly cause strings such as <code>"key=secret"</code> to match.
4242
</p>
4343
<p>
4444
If user input is used to construct a regular expression, it should be escaped
45-
first. This ensures that the malicious users cannot insert characters that have special
45+
first. This ensures that malicious users cannot insert characters that have special
4646
meanings in regular expressions.
4747
</p>
4848
<sample src="RegexInjectionGood.rs" />

0 commit comments

Comments
 (0)