Skip to content
代码片段 群组 项目
提交 6c0de46a 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin
浏览文件

Remove `go_get_handle_401_error` feature flag

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/496539

**Original problem**

Self-managed instances that restricted password authentication for Git
over HTTP(S) started to receive 401 error code for `go-get=1` requests
from go toolchain.

The reason is a missing return for the case when request doesn't have
basic credentials.

It was introduced in
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/161162.

**Solution**

Restore check for missing basic credentials and add a test case.

Changelog: fixed
上级 d71703aa
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册