Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider escaping newline/paragraph separators in JSONP responses #36

Closed
onebytegone opened this issue Mar 21, 2019 · 2 comments
Closed
Assignees

Comments

@onebytegone
Copy link
Contributor

To fix expressjs/express#1132, express started escaping \u2028 and \u2029 as these were valid in JSON, but not JS (was changed in this proposal). Should lambda-express also perform a similar escaping?

See also:

@jthomerson
Copy link
Member

Makes sense to me. Good catch.

@onebytegone
Copy link
Contributor Author

Closed with #42.

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

No branches or pull requests

2 participants