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

fixes xss vulnerability in universal example, #1855 #1856

Merged
merged 1 commit into from
Jul 19, 2016

Conversation

brigand
Copy link
Contributor

@brigand brigand commented Jul 19, 2016

See #1855 for details.

@timdorr
Copy link
Member

timdorr commented Jul 19, 2016

I'm not sure this is actually sufficient. It certainly removes a whole class of attacks, but there are further things that can be done. I would instead use a combo of encodeURI and decodeURI or something like serialize-javascript.

@timdorr
Copy link
Member

timdorr commented Jul 19, 2016

I guess for now, just for the people copypastaing this code, this works well enough.

@timdorr timdorr merged commit 47a3fa8 into reduxjs:master Jul 19, 2016
@brigand brigand deleted the universal-xss branch July 19, 2016 15:52
seantcoyote pushed a commit to seantcoyote/redux that referenced this pull request Jan 14, 2018
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