diff options
-rw-r--r-- | lib/gitlab/incoming_email.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/gitlab/incoming_email.rb b/lib/gitlab/incoming_email.rb index a492f904303..c9122a23568 100644 --- a/lib/gitlab/incoming_email.rb +++ b/lib/gitlab/incoming_email.rb @@ -35,15 +35,14 @@ module Gitlab end def key_from_fallback_message_id(mail_id) - message_id_regexp = - /\Areply\-(.+)@#{Gitlab.config.gitlab.host}\z/.freeze + message_id_regexp = /\Areply\-(.+)@#{Gitlab.config.gitlab.host}\z/ mail_id[message_id_regexp, 1] end def scan_fallback_references(references) # It's looking for each <...> - references.scan(/(?!<)[^<>]+(?=>)/.freeze) + references.scan(/(?!<)[^<>]+(?=>)/) end def config |