Python: Apply code-review suggestion

Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
Rasmus Wriedt Larsen
2021-01-21 13:40:58 +01:00
committed by GitHub
parent 526ccdd227
commit 48083d657a

View File

@@ -24,7 +24,7 @@ class UrlRedirectConfiguration extends TaintTracking::Configuration {
override predicate isSanitizer(DataFlow::Node node) {
// Url redirection is a problem only if the user controls the prefix of the URL.
// This is a copy of the taint-sanitizer from the old points-to query, which doesn't
// TODO: This is a copy of the taint-sanitizer from the old points-to query, which doesn't
// cover formatting.
exists(BinaryExprNode string_concat | string_concat.getOp() instanceof Add |
string_concat.getRight() = node.asCfgNode()