Extend basic authentication detection for rate limiting
Detects the following forms of basic authentication in addition: * <username>:<password> * <username>:<personal_access_token> * <username>:<lfs_token> Changelog: fixed
显示
- lib/gitlab/auth/auth_finders.rb 30 个添加, 0 个删除lib/gitlab/auth/auth_finders.rb
- lib/gitlab/auth/request_authenticator.rb 5 个添加, 2 个删除lib/gitlab/auth/request_authenticator.rb
- spec/lib/gitlab/auth/auth_finders_spec.rb 116 个添加, 0 个删除spec/lib/gitlab/auth/auth_finders_spec.rb
- spec/lib/gitlab/auth/request_authenticator_spec.rb 50 个添加, 0 个删除spec/lib/gitlab/auth/request_authenticator_spec.rb
- spec/requests/rack_attack_global_spec.rb 114 个添加, 0 个删除spec/requests/rack_attack_global_spec.rb
加载中
想要评论请 注册 或 登录