Block local URLs for external controls on SaaS
- Local addresses are fine for other contexts since users might have services running on the same host they need to access. - Evaluation of .com? state moved to instance evaluation since otherwise the specs are not going to pick up the mocked change given that validations are load time evaluated. - Refs: https://gitlab.com/gitlab-org/gitlab/-/issues/515773 Changelog: changed EE: true
显示
- ee/app/models/compliance_management/compliance_framework/compliance_requirements_control.rb 9 个添加, 2 个删除...t/compliance_framework/compliance_requirements_control.rb
- ee/spec/models/compliance_management/compliance_framework/compliance_requirements_control_spec.rb 24 个添加, 0 个删除...pliance_framework/compliance_requirements_control_spec.rb
加载中
想要评论请 注册 或 登录