HomePhorge

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
James RhodesAuthored on Nov 4 2013, 7:33 AM
epriestleyCommitted on Nov 4 2013, 7:43 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0ceb53bfae28: Fix issue where Git authentication would always 403 on non-public install.
Branches
Unknown
Tags
Unknown

Event Timeline