-
- Downloads
Allow to use untrusted Regexp via feature flag
This brings support for untrusted regexp for 'only:refs:' when enabled via feature flag: alllow_unsafe_ruby_regexp. This is by default disabled, and should not be used in production
Showing
- changelogs/unreleased/allow-to-use-untrusted-ruby-syntax.yml 5 additions, 0 deletionschangelogs/unreleased/allow-to-use-untrusted-ruby-syntax.yml
- doc/ci/yaml/README.md 21 additions, 0 deletionsdoc/ci/yaml/README.md
- lib/gitlab/ci/build/policy/refs.rb 1 addition, 1 deletionlib/gitlab/ci/build/policy/refs.rb
- lib/gitlab/ci/config/entry/policy.rb 2 additions, 2 deletionslib/gitlab/ci/config/entry/policy.rb
- lib/gitlab/config/entry/validators.rb 15 additions, 1 deletionlib/gitlab/config/entry/validators.rb
- lib/gitlab/untrusted_regexp/ruby_syntax.rb 29 additions, 10 deletionslib/gitlab/untrusted_regexp/ruby_syntax.rb
- spec/lib/gitlab/ci/build/policy/refs_spec.rb 26 additions, 0 deletionsspec/lib/gitlab/ci/build/policy/refs_spec.rb
- spec/lib/gitlab/ci/config/entry/policy_spec.rb 67 additions, 0 deletionsspec/lib/gitlab/ci/config/entry/policy_spec.rb
- spec/lib/gitlab/untrusted_regexp/ruby_syntax_spec.rb 57 additions, 11 deletionsspec/lib/gitlab/untrusted_regexp/ruby_syntax_spec.rb
Please register or sign in to comment