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

Prevent XSS by escaping potential HTML #55

Merged
merged 1 commit into from Mar 7, 2014

Conversation

toolmantim
Copy link
Contributor

Escapes potential HTML content by adding a h helper method and using it in the views whenever text output from the DB is rendered into a view.

Closes #49

@toolmantim toolmantim mentioned this pull request Mar 7, 2014
@andyatkinson
Copy link
Collaborator

Thanks for doing these.

Sorry to bug you about one more thing. The whitespace changes in this commit to the SQL generation method have caused a conflict. I started to resolve it, but it is a little more complicated than totally trivial :) so I don't want to mess it up, and I'm wondering if you could resolve the conflict? I don't know what your preferred workflow is, but what I usually do is a interactive rebase, and then force push to the branch to overwrite the commit with the new one.

@toolmantim
Copy link
Contributor Author

No sweat! Have updated the branch…

@andyatkinson andyatkinson merged commit b328b26 into ejschmitt:master Mar 7, 2014
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.

XSS vulnerability
2 participants