Deprecate previous version

This commit is contained in:
Alvaro Muñoz
2022-10-11 12:44:46 +02:00
parent d5520d93c8
commit 15f641893e

View File

@@ -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