Skip to content

Conversation

@XhmikosR
Copy link
Contributor

I think this shouldn't affect anything, but it's good practice IIRC.

From https://expressjs.com/en/api.html#app.settings.table:

Enable escaping JSON responses from the res.json, res.jsonp, and res.send APIs. This will escape the characters <, >, and & as Unicode escape sequences in JSON. The purpose of this it to assist with mitigating certain types of persistent XSS attacks when clients sniff responses for HTML.

@sagarkarira sagarkarira merged commit 59657dc into sagarkarira:master Mar 20, 2020
@XhmikosR XhmikosR deleted the patch-3 branch March 20, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants