mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Deprecate previous version
This commit is contained in:
@@ -68,7 +68,7 @@ module ReflectedXss {
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Holds if `h` may send a response with a content type that is safe for XSS.
|
||||
* DEPRECATED: Holds if `h` may send a response with a content type other than HTML.
|
||||
*/
|
||||
deprecated Http::HeaderDefinition nonHtmlContentTypeHeader(Http::RouteHandler h) {
|
||||
result = h.getAResponseHeader("content-type") and
|
||||
|
||||
Reference in New Issue
Block a user