Skip to content

Commit 869ad2e

Browse files
geoffw0mattpollard
andauthored
Apply suggestions from code review
Co-authored-by: Matt Pollard <[email protected]>
1 parent 4644b71 commit 869ad2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/src/queries/Security/CWE-730/RegexInjection.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<p>
88
Constructing a regular expression with unsanitized user input is dangerous,
99
since a malicious user may be able to modify the meaning of the expression. They
10-
may be able to cause unexpected program behaviour, or perform a Denial of Service
11-
attack. For example they may provide a regular expression fragment that takes
10+
may be able to cause unexpected program behaviour, or perform a denial-of-service
11+
attack. For example, they may provide a regular expression fragment that takes
1212
exponential time to evaluate in the worst case.
1313
</p>
1414
</overview>

0 commit comments

Comments
 (0)