Skip to content

Convert some regex to use Gitlab::UntrustedRegexp

Brett Walker requested to merge bw-use-untrusted-regex-15-10 into 15-10-stable-ee

What does this MR do and why?

This cherry picks the commit from !116610 (merged), merged into 15.11. This code is needed to support other patches to the 15.10 branch.

The decision to backport this commit was decided upon here, see that thread for full context: https://gitlab.com/gitlab-org/gitlab/-/issues/409555#note_1398094890

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Steve Abrams

Merge request reports

Loading