Skip to content

Serialize SSR against XSS #624

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

Merged
merged 1 commit into from
Jun 20, 2019
Merged

Serialize SSR against XSS #624

merged 1 commit into from
Jun 20, 2019

Conversation

Austio
Copy link
Contributor

@Austio Austio commented May 23, 2019

This PR closes #158

  • Serialized javascript in SSR export by default
  • Adds serialize-javascript library for handling that
  • Adds jest to test the unit

We have been using serialize-javascript for this in production for a long time now (at least a year) on a pretty large usage of apollo and has been rock solid.

…o client when exporting apollo states. Add jest for running unit tests. Add unit test for serialize functionality
@Austio
Copy link
Contributor Author

Austio commented May 23, 2019

@Akryum Any thoughts on merging and cutting a release?

@Austio
Copy link
Contributor Author

Austio commented May 28, 2019

@Akryum bump, good to merge in?

@Austio
Copy link
Contributor Author

Austio commented Jun 14, 2019

@Akryum Bump, do you need/want help managing prs in the repo? Happy to lend a hand if you are strapped for time. We use vue-apollo on a pretty large app and am familiar with internals and how it is used in ssr manually.

@Akryum Akryum merged commit eba11d8 into vuejs:master Jun 20, 2019
@Akryum
Copy link
Member

Akryum commented Jun 20, 2019

Thanks!

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.

More Secure Export States Inline
2 participants