gitlab-org--gitlab-foss/app
Drew Blessing 7f00bcb92e Allow CI to clone public projects when HTTP protocol is disabled
GitLab has a mechanism that allows CI to clone repositories via HTTP
even when the HTTP protocol is disabled. This works as expected
when a project is private or internal. However, when a project is
public CI gets an error message that HTTP is not allowed. This
happens because Git only sends auth in a subsequent request after a
401 is returned first. For public projects, GitLab grabs onto that
unauthenticated request and sends it through since it recognizes
that Guests are ordinarily allowed to access the repository.
Later on this leads to a 403 since HTTP protocol is disabled.
Fix this by only continuing with unauthenticated requests when
HTTP is allowed.
2019-08-14 14:15:33 -05:00
..
assets Fixed border styles for callout 2019-08-14 18:15:28 +00:00
controllers Allow CI to clone public projects when HTTP protocol is disabled 2019-08-14 14:15:33 -05:00
finders Rework retry strategy for remote mirrors 2019-08-13 20:52:01 +00:00
graphql Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
helpers Revert "Merge branch '64341-data-and-privacy-agreement-for-gitlab-users' into 'master'" 2019-08-14 17:53:07 +00:00
mailers Rework retry strategy for remote mirrors 2019-08-13 20:52:01 +00:00
models Merge remote-tracking branch 'dev/security-2873-restrict-slash-commands-to-users-who-can-log-in' 2019-08-14 14:11:04 -04:00
policies Merge remote-tracking branch 'dev/security-2873-restrict-slash-commands-to-users-who-can-log-in' 2019-08-14 14:11:04 -04:00
presenters Replace ... with new expansion options 2019-08-10 02:36:32 +00:00
serializers Split MR widget into cached and non-cached serializers 2019-08-09 21:01:55 +00:00
services Merge branch 'sh-optimize-commit-deltas-post-receive' into 'master' 2019-08-14 14:38:28 +00:00
uploaders Merge branch 'security-60551-fix-upload-scope' into 'master' 2019-07-26 13:40:54 +00:00
validators Refactor SystemHookUrlValidator and specs 2019-08-02 15:39:18 +01:00
views Revert "Merge branch '64341-data-and-privacy-agreement-for-gitlab-users' into 'master'" 2019-08-14 17:53:07 +00:00
workers Add usage pings for source code pushes 2019-08-13 22:33:16 +00:00