Homec4science

Disable CSRF checks on Git push when updating repository.

Authored by James Rhodes <jrhodes@redpointsoftware.com.au> on Nov 4 2013, 16:33.

Description

Disable CSRF checks on Git push when updating repository.

Summary: This disables CSRF checking around the $repository->writeStatusMessage so that pushing changes over HTTP to Git repositories doesn't fail miserably.

Test Plan: Applied this fix and I could git push to hosted repositories again.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4052

Differential Revision: https://secure.phabricator.com/D7490

Details

Committed
epriestley <git@epriestley.com>Nov 4 2013, 16:43
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0ceb53bfae28: Fix issue where Git authentication would always 403 on non-public install.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3e2efaf00e57: Disable CSRF checks on Git push when updating repository. (authored by James Rhodes <jrhodes@redpointsoftware.com.au>).Nov 4 2013, 16:43