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 {
3838 /** A sanitizer for HTML constructed from library input vulnerabilities. */
3939 abstract class Sanitizer extends DataFlow:: Node { }
4040
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 { }
4343
4444 /** Gets a node that eventually ends up in the XSS `sink`. */
4545 private DataFlow:: Node getANodeThatEndsInXssSink ( ReflectedXss:: Sink sink ) {
You can’t perform that action at this time.
0 commit comments