mirror of
https://github.com/github/codeql.git
synced 2026-02-12 13:11:20 +01:00
Merge pull request #20918 from asgerf/js/response-default-content-type
JS: Handle default 'content-type' header in Response() objects
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* `new Response(x)` is no longer seen as a reflected XSS sink when no `content-type` header
|
||||
is set, since the content type defaults to `text/plain`.
|
||||
Reference in New Issue
Block a user