JS: address qhelp review comments

This commit is contained in:
Esben Sparre Andreasen
2019-06-03 16:39:39 +02:00
parent bf51c54338
commit 9e0a97e82f

View File

@@ -7,7 +7,7 @@
<p>
Sanitizing untrusted input with regular expressions is a
common technique. However, it is error prone to match untrusted input
common technique. However, it is error-prone to match untrusted input
against regular expressions without anchors such as <code>^</code> or
<code>$</code>. Malicious input can bypass such security checks by
embedding one of the allowed patterns in an unexpected location.
@@ -17,8 +17,8 @@
<p>
Even if the matching is not done in a security-critical
context, it may still cause undesirable behaviors when the regular
expression matches accidentally.
context, it may still cause undesirable behavior when the regular
expression accidentally matches.
</p>
</overview>