Send an X-CSRFToken header when deleting integrations
Review Request #8490 — Created Oct. 25, 2016 and submitted — Latest diff uploaded
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 ourHTTP DELETE
request
and, if present, we add theX-CSRFToken
header to the request. This
allows integrations to be deleted.
Able to delete an integration with this patch applied.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
djblets/integrations/templates/integrations/configure_integration.html |
---|