mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JavaScript: add doc comment
This commit is contained in:
@@ -15,6 +15,9 @@ abstract class HtmlSanitizerCall extends DataFlow::CallNode {
|
||||
abstract DataFlow::Node getInput();
|
||||
}
|
||||
|
||||
/**
|
||||
* Matches HTML sanitizers from known NPM packages as well as home-made sanitizers (matched by name).
|
||||
*/
|
||||
private class DefaultHtmlSanitizerCall extends HtmlSanitizerCall {
|
||||
DefaultHtmlSanitizerCall() {
|
||||
exists (DataFlow::SourceNode callee | this = callee.getACall() |
|
||||
|
||||
Reference in New Issue
Block a user