File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ruby/ql/lib/codeql/ruby/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ module UnsafeHtmlConstruction {
38
38
/** A sanitizer for HTML constructed from library input vulnerabilities. */
39
39
abstract class Sanitizer extends DataFlow:: Node { }
40
40
41
- // inherit all the sanitizers from ReflectedXss
42
- class ReflectedXssSanitizers extends Sanitizer instanceof ReflectedXss:: Sanitizer { }
41
+ /** A sanitizer from the reflected-xss query, which is also a sanitizer for unsafe HTML construction. */
42
+ private class ReflectedXssSanitizers extends Sanitizer instanceof ReflectedXss:: Sanitizer { }
43
43
44
44
/** Gets a node that eventually ends up in the XSS `sink`. */
45
45
private DataFlow:: Node getANodeThatEndsInXssSink ( ReflectedXss:: Sink sink ) {
You can’t perform that action at this time.
0 commit comments