BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
bec10d58
Commit
bec10d58
authored
Feb 07, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No strong reasons to freeze them
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8620#note_22868713
parent
2f80cbb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
incoming_email.rb
lib/gitlab/incoming_email.rb
+2
-3
No files found.
lib/gitlab/incoming_email.rb
View file @
bec10d58
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment