Skip to content

Commit 5c412b9

Browse files
author
Alvaro Muñoz
committed
Use Pascal convention
1 parent ad80642 commit 5c412b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/ReflectedXssCustomizations.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ module ReflectedXss {
2525
* is to prevent us from flagging plain-text or JSON responses as vulnerable.
2626
*/
2727
class HttpResponseSink extends Sink instanceof Http::ResponseSendArgument {
28-
HttpResponseSink() { not exists(getAXSSSafeHeaderDefinition(this)) }
28+
HttpResponseSink() { not exists(getAXssSafeHeaderDefinition(this)) }
2929
}
3030

3131
/**
3232
* Gets a HeaderDefinition that defines a XSS safe content-type for `send`.
3333
*/
34-
Http::HeaderDefinition getAXSSSafeHeaderDefinition(Http::ResponseSendArgument send) {
34+
Http::HeaderDefinition getAXssSafeHeaderDefinition(Http::ResponseSendArgument send) {
3535
exists(Http::RouteHandler h |
3636
send.getRouteHandler() = h and
3737
result = xssSafeContentTypeHeader(h)

0 commit comments

Comments
 (0)