Skip to content

Commit 15f6418

Browse files
author
Alvaro Muñoz
committed
Deprecate previous version
1 parent d5520d9 commit 15f6418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module ReflectedXss {
6868
}
6969

7070
/**
71-
* DEPRECATED: Holds if `h` may send a response with a content type that is safe for XSS.
71+
* DEPRECATED: Holds if `h` may send a response with a content type other than HTML.
7272
*/
7373
deprecated Http::HeaderDefinition nonHtmlContentTypeHeader(Http::RouteHandler h) {
7474
result = h.getAResponseHeader("content-type") and

0 commit comments

Comments
 (0)