Skip to content

Commit 7c0243f

Browse files
asgerfCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 818f481 commit 7c0243f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
category: minorAnalysis
33
---
4-
* `new Response(x)` is not longer seen as a reflected XSS sink when no`content-type` header
4+
* `new Response(x)` is not longer seen as a reflected XSS sink when no `content-type` header
55
is set, since the content type defaults to `text/plain`.

javascript/ql/test/query-tests/Security/CWE-079/ReflectedXss/response-object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const express = require('express');
22

3-
// Note: We're using express for the taint source in order to to test 'Response'
3+
// Note: We're using express for the taint source in order to test 'Response'
44
// in isolation from the more complicated http frameworks.
55

66
express().get('/foo', (req) => {

0 commit comments

Comments
 (0)