mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Make bottle response logic consistent with other frameworks.
This commit is contained in:
@@ -32,7 +32,7 @@ class BottleResponseBodyAssignment extends TaintSink {
|
||||
}
|
||||
|
||||
override predicate sinks(TaintKind kind) {
|
||||
kind instanceof UntrustedStringKind
|
||||
kind instanceof StringKind
|
||||
}
|
||||
|
||||
}
|
||||
@@ -47,7 +47,7 @@ class BottleHandlerFunctionResult extends TaintSink {
|
||||
}
|
||||
|
||||
override predicate sinks(TaintKind kind) {
|
||||
kind instanceof UntrustedStringKind
|
||||
kind instanceof StringKind
|
||||
}
|
||||
|
||||
override string toString() {
|
||||
|
||||
Reference in New Issue
Block a user