mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Rename sanitizer
This commit is contained in:
@@ -71,10 +71,10 @@ module TaintedPath {
|
||||
}
|
||||
|
||||
/**
|
||||
* A numeric-typed node, considered a sanitizer for path traversal.
|
||||
* A numeric- or boolean-typed node, considered a sanitizer for path traversal.
|
||||
*/
|
||||
class NumericSanitizer extends Sanitizer {
|
||||
NumericSanitizer() {
|
||||
class NumericOrBooleanSanitizer extends Sanitizer {
|
||||
NumericOrBooleanSanitizer() {
|
||||
this.getType() instanceof NumericType or this.getType() instanceof BoolType
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user