Feature #7318

Add user agent to Redmine Mailhandler

Added by Ве Fio over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2011-01-13
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Email receiving
Target version:1.2.0
Resolution:

Description

Mod_security protects against problematic applications, bots, application vulnerabilities, and the like. Since Redmine Mailhandler doesn't have a user-agent, it also gets rejected by the default rules. As the Redmine repository manager already has a user-agent, it would be proper to also add one here for clarification of 'what' is sending a POST to /mail_handler (even though we both know what it is). Maybe something similar to the Redmine repository manager's user-agent, "Redmine Mail Handler/#{version}" or "Redmine Mailhandler/#{version}" :)

user-agent.diff - Patch to add user-agent support to Redmine's mailhandler (1.3 kB) Magnifier Ве Fio, 2011-01-13 12:06

Associated revisions

Revision 4725
Added by Jean-Philippe Lang over 1 year ago

Adds a User-Agent header to Redmine mailhandler requests (#7318).

History

#1 Updated by Ве Fio over 1 year ago

#2 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from New to Closed
  • Target version set to 1.2.0

Committed in r4725 with a slight change to user agent string. Thanks.

Also available in: Atom PDF