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

Require application/json for JSONRPC2 POSTs #1588

Merged
merged 1 commit into from Mar 16, 2015

Conversation

djmitche
Copy link
Member

This avoids the possibility of XSS attacks via 'form' elements.

@tardyp all of the tests use application/json, but does the frontend?

This avoids the possibility of XSS attacks via 'form' elements.

Fixes buildbot#2674.
@tardyp
Copy link
Member

tardyp commented Mar 12, 2015

Yes, the front end does.

@tardyp
Copy link
Member

tardyp commented Mar 15, 2015

👍

djmitche added a commit to djmitche/buildbot that referenced this pull request Mar 16, 2015
@djmitche djmitche merged commit ce69d7a into buildbot:master Mar 16, 2015
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.

None yet

2 participants