File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/src/semmle/javascript/security/dataflow Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -308,13 +308,13 @@ module ReflectedXss {
308308 class HttpResponseSink extends Sink , DataFlow:: ValueNode {
309309 override HTTP:: ResponseSendArgument astNode ;
310310
311- HttpResponseSink ( ) { not exists ( getAnonHtmlHeaderDefinition ( astNode ) ) }
311+ HttpResponseSink ( ) { not exists ( getANonHtmlHeaderDefinition ( astNode ) ) }
312312 }
313313
314314 /**
315315 * Gets a HeaderDefinition that defines a non-html content-type for `send`.
316316 */
317- HTTP:: HeaderDefinition getAnonHtmlHeaderDefinition ( HTTP:: ResponseSendArgument send ) {
317+ HTTP:: HeaderDefinition getANonHtmlHeaderDefinition ( HTTP:: ResponseSendArgument send ) {
318318 exists ( HTTP:: RouteHandler h |
319319 send .getRouteHandler ( ) = h and
320320 result = nonHtmlContentTypeHeader ( h )
You can’t perform that action at this time.
0 commit comments