Project

General

Profile

Actions

Feature #7318

closed

Add user agent to Redmine Mailhandler

Added by Ве Fio about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
Start date:
2011-01-13
Due date:
% Done:

0%

Estimated time:
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}" :)


Files

user-agent.diff (1.34 KB) user-agent.diff Patch to add user-agent support to Redmine's mailhandler Ве Fio, 2011-01-13 12:06
Actions #2

Updated by Jean-Philippe Lang about 13 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.

Actions

Also available in: Atom PDF