Send an X-CSRFToken header when deleting integrations

Review Request #8490 - Created Oct. 25, 2016 and submitted

Barret Rennie
Djblets
release-0.10.x
djblets

Previously, integrations could not be deleted. The view required a CSRF
token to be submitted but we were not sending one. Now we check for a
CSRF token field in the form before executing our HTTP DELETE request
and, if present, we add the X-CSRFToken header to the request. This
allows integrations to be deleted.

Able to delete an integration with this patch applied.

  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Review Bot
David Trowbridge
Barret Rennie
Review Bot
David Trowbridge
Barret Rennie
Review Bot
David Trowbridge
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (70b7578)
Loading...