Update javascript/ql/src/semmle/javascript/security/IncompleteBlacklistSanitizer.qll

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Erik Krogh Kristensen
2021-03-17 13:30:05 +01:00
committed by GitHub
parent 3640bbd466
commit 1db5cb15f0

View File

@@ -53,7 +53,7 @@ class StringReplaceCallSequence extends DataFlow::CallNode {
string getAReplacementString() {
getAMember().replaces(_, result)
or
// StringReplaceCall::replaces/2 can't always find the `old` string, so this is added as a falback.
// StringReplaceCall::replaces/2 can't always find the `old` string, so this is added as a fallback.
getAMember().getRawReplacement().getStringValue() = result
}