Skip to content

Commit

Permalink
Remove port number from List-Id (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
taqueci committed Feb 17, 2017
1 parent b3df340 commit 5d3aa14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redmine_mail_from/mailer_model_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def mail_with_patch(headers={}, &block)
break if nerr == 0
end

host = Setting.host_name.split(/\//).first
host = Setting.host_name.split(/[\/:]/).first

if @issue
listid = "<#{@issue.project.identifier}.#{host}>"
Expand Down

0 comments on commit 5d3aa14

Please sign in to comment.