Skip to content

Skip authenticity token checks for Git HTTP

What does this MR do?

Disable CSRF protection when serving Git HTTP clients.

Are there points in the code the reviewer needs to double check?

Not really.

Why was this MR needed?

Git clone was not working anymore https://gitlab.com/gitlab-org/gitlab-ce/issues/18331

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/18331

Merge request reports