[Buildbot-commits] [buildbot/buildbot] ce69d7: Require application/json for JSONRPC2 POSTs

GitHub noreply at github.com
Mon Mar 16 02:18:01 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: ce69d7ae41e711152c4d41169554ac0204e6f56c
      https://github.com/buildbot/buildbot/commit/ce69d7ae41e711152c4d41169554ac0204e6f56c
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2015-03-11 (Wed, 11 Mar 2015)

  Changed paths:
    M master/buildbot/test/unit/test_www_rest.py
    M master/buildbot/test/util/www.py
    M master/buildbot/www/rest.py
    M master/docs/developer/www.rst

  Log Message:
  -----------
  Require application/json for JSONRPC2 POSTs

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

Fixes #2674.


  Commit: d07a195dcfb53dfe4170f878e5c1efb4befdd48e
      https://github.com/buildbot/buildbot/commit/d07a195dcfb53dfe4170f878e5c1efb4befdd48e
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2015-03-15 (Sun, 15 Mar 2015)

  Changed paths:
    M master/buildbot/test/unit/test_www_rest.py
    M master/buildbot/test/util/www.py
    M master/buildbot/www/rest.py
    M master/docs/developer/www.rst

  Log Message:
  -----------
  Merge djmitche/buildbot:bug2674 (PR #1588)

+autopep8


Compare: https://github.com/buildbot/buildbot/compare/f733eda34cf7...d07a195dcfb5


More information about the Commits mailing list