diff --git a/ql/src/semmle/go/frameworks/Stdlib.qll b/ql/src/semmle/go/frameworks/Stdlib.qll index 2873e98346b..6eeee5d8bfb 100644 --- a/ql/src/semmle/go/frameworks/Stdlib.qll +++ b/ql/src/semmle/go/frameworks/Stdlib.qll @@ -684,8 +684,7 @@ module URL { } override predicate hasTaintFlow(DataFlow::FunctionInput inp, DataFlow::FunctionOutput outp) { - inp.isReceiver() and - if getName() = "Password" then outp.isResult(0) else outp.isResult() + inp.isReceiver() and outp.isResult(0) } }