Feature #7318

Add user agent to Redmine Mailhandler

Added by Ве Fio almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2011-01-13
Priority:NormalDue 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 Magnifier - Patch to add user-agent support to Redmine's mailhandler (1.34 KB) Ве Fio, 2011-01-13 12:06

Associated revisions

Revision 4725
Added by Jean-Philippe Lang almost 7 years ago

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

History

#1 Updated by Ве Fio almost 7 years ago

#2 Updated by Jean-Philippe Lang almost 7 years 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