We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
toString
1 parent 866e615 commit 75bc532Copy full SHA for 75bc532
python/ql/lib/semmle/python/frameworks/Libtaxii.qll
@@ -25,7 +25,7 @@ private module Libtaxii {
25
private class ParseCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {
26
ParseCall() {
27
this = API::moduleImport("libtaxii").getMember("common").getMember("parse").getACall() and
28
- this.getArgByName("allow_url").asExpr().toString() = "True"
+ this.getArgByName("allow_url").getALocalSource().asExpr() = any(True t)
29
}
30
31
override DataFlow::Node getAUrlPart() { result in [this.getArg(0), this.getArgByName("s")] }
0 commit comments