Actions
Defect #11208
closedPassing arguments with spaces to allow-override in rdm-mailhandler.rb
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Hello,
I would like to allow override some attributes from e-mails and I was looking at the help at http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails
The thing is that it don't works when the argument has a space.
Author: Carlos Lopez Status: New Priority: Normal Assigned to: Category: Target version:
I can override all options from an e-mail except the options that has an space. "Assigned to" and "Target version".
I tried this in /etc/aliases:
redmine: "|/opt/redmine/extra/mail_handler/rdm-mailhandler.rb -u http://redmine.url.com -k key -o Author,Status,Priority,Category,Assigned to,Target version"
As also tried this:
redmine: '|/opt/redmine/extra/mail_handler/rdm-mailhandler.rb -u http://redmine.url.com -k key -o Author,Status,Priority,Category,"Assigned to","Target version"'
this:
redmine: '|/opt/redmine/extra/mail_handler/rdm-mailhandler.rb -u http://redmine.url.com -k key -o Author,Status,Priority,Category,\"Assigned to\",\"Target version\""
and this:
redmine: '|/opt/redmine/extra/mail_handler/rdm-mailhandler.rb -u http://redmine.url.com -k key -o Author,Status,Priority,Category,'Assigned to','Target version'"
There is no way to pass the attributes with spaces.
Actions