Roundup Tracker - Issues

Message6764

Author rouilj
Recipients rouilj, schlatterbeck
Date 2019-10-23.16:58:39
Message-id <1571849919.95.0.97101579509.issue2551047@roundup.psfhosted.org>
In-reply-to
This looks like a PEBKAC issue.

I just tested again. Using application/json I can use:

  POST to create a new issue
  PUT to modify issue's title and status
  DELETE to retire an issue
  PATCH to retire and restore an issue
  POST with X-HTTP-METHOD-OVERRIDE DELETE to retire an issue

This is under uwsgi.

I did one fix. With PATCH and a json payload, the self.form.list was set to None. This caused a crash in csrf nonce checking. So the check now
validates that self.form.list is not None before it tries: '@csrf' in self.form.

If this passes CI, I will release a 2.0.0alpha0.
History
Date User Action Args
2019-10-23 16:58:39rouiljsetmessageid: <1571849919.95.0.97101579509.issue2551047@roundup.psfhosted.org>
2019-10-23 16:58:39rouiljsetrecipients: + rouilj, schlatterbeck
2019-10-23 16:58:39rouiljlinkissue2551047 messages
2019-10-23 16:58:39rouiljcreate