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

Provide support to escape HTML #3

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments
Closed

Provide support to escape HTML #3

GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

To prevent against XSS attacks, Gson should provide a GsonBuilder option to
automatically escape and unescape HTML

Original issue reported on code.google.com by inder123 on 25 Apr 2008 at 11:18

@GoogleCodeExporter
Copy link
Author

Original comment by inder123 on 19 May 2008 at 6:25

@GoogleCodeExporter
Copy link
Author

Original comment by joel.leitch@gmail.com on 31 May 2008 at 12:45

@GoogleCodeExporter
Copy link
Author

Submission r94
(http://groups.google.com/group/google-gson-codereviews/browse_thread/thread/ac9
a092a4b45f6b6)
 added JSON escaping to google-gson which fixes this bug.

Original comment by joel.leitch@gmail.com on 18 Jun 2008 at 12:14

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant