Skip to content

Commit e04c77c

Browse files
authored
Rename sanitizer
1 parent e04a9b5 commit e04c77c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/ql/lib/semmle/go/security/TaintedPathCustomizations.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ module TaintedPath {
7171
}
7272

7373
/**
74-
* A numeric-typed node, considered a sanitizer for path traversal.
74+
* A numeric- or boolean-typed node, considered a sanitizer for path traversal.
7575
*/
76-
class NumericSanitizer extends Sanitizer {
77-
NumericSanitizer() {
76+
class NumericOrBooleanSanitizer extends Sanitizer {
77+
NumericOrBooleanSanitizer() {
7878
this.getType() instanceof NumericType or this.getType() instanceof BoolType
7979
}
8080
}

0 commit comments

Comments
 (0)