summaryrefslogtreecommitdiff
path: root/lib/gitlab/untrusted_regexp/ruby_syntax.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow to use untrusted Regexp via feature flagKamil Trzciński2019-04-041-10/+29
| | | | | | | 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
* Make CI refs matching to to use UntrustedRegexpKamil Trzciński2019-03-151-0/+43
This makes ref validation to use always `UntrustedRegexp`. This also splits the existing RubySyntax into separate class.