HomePhabricator

Disable CSRF checks on Git push when updating repository.

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

Provenance
hach-queAuthored on Nov 4 2013, 3:33 PM
epriestleyCommitted on Nov 4 2013, 3:43 PM
Reviewer
epriestley
Differential Revision
D7490: Disable CSRF checks on Git push when updating repository.
Parents
rP0ceb53bfae28: Fix issue where Git authentication would always 403 on non-public install.
Branches
Unknown
Tags
Unknown

Event Timeline