From 9db970f0553ded2dba23e2c998c87bcf4b9dd2f5 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Thu, 13 Jul 2023 14:17:33 +0200 Subject: [PATCH] apply suggestion from review Co-authored-by: Max Schaefer <54907921+max-schaefer@users.noreply.github.com> --- .../Security/CWE-116/IncompleteMultiCharacterSanitization.qhelp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ql/src/Security/CWE-116/IncompleteMultiCharacterSanitization.qhelp b/javascript/ql/src/Security/CWE-116/IncompleteMultiCharacterSanitization.qhelp index 23ea040d1e1..f0c5a2fcf3f 100644 --- a/javascript/ql/src/Security/CWE-116/IncompleteMultiCharacterSanitization.qhelp +++ b/javascript/ql/src/Security/CWE-116/IncompleteMultiCharacterSanitization.qhelp @@ -25,7 +25,7 @@ possible. These libraries are more likely to handle corner cases and ensure effe

If a library is not an option, you can consider alternative strategies to fix the issue. For example, -applying the regular expression replacement repeatedly until no more replacements can be performed or to rewrite the regular +applying the regular expression replacement repeatedly until no more replacements can be performed, or rewriting the regular expression to match single characters instead of the entire unsafe text.