Commit 364155fc authored by Marius Bobin's avatar Marius Bobin

Merge branch 'fix/gb/unsafe-regexp-logger-class-name' into 'master'

Fix ruby regexp syntax logger class name

See merge request gitlab-org/gitlab!78662
parents 7a7c032c 8e63e102
...@@ -40,7 +40,7 @@ module Gitlab ...@@ -40,7 +40,7 @@ module Gitlab
if Feature.enabled?(:ci_unsafe_regexp_logger, type: :ops, default_enabled: :yaml) if Feature.enabled?(:ci_unsafe_regexp_logger, type: :ops, default_enabled: :yaml)
Gitlab::AppJsonLogger.info( Gitlab::AppJsonLogger.info(
class: self.class.name, class: self.name,
regexp: pattern.to_s, regexp: pattern.to_s,
fabricated: 'unsafe ruby regexp', fabricated: 'unsafe ruby regexp',
project_id: project&.id, project_id: project&.id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment