Closed (won't fix)
Project:
Mailhandler
Version:
6.x-1.x-dev
Component:
Mailhandler
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Apr 2008 at 16:56 UTC
Updated:
28 Jan 2012 at 22:35 UTC
Most of the other commands that can be given in the first lines of a message to mail handler are case insensitive, and the name of the taxonomy node in brackets is also case insensitive, but the taxonomy name itself is tested by string equality to 'taxonomy'.
Changing line 255 to compare through strcasecmp rather than == will bring the taxonomy command more in line with the other commands, and on the project I'm supporting, more in line with user expectations:
if ((0==strcasecmp($data[0],'taxonomy')) && !is_numeric($data[1][0])) {
Things currently work, but they work differently for the taxonomy command. This will bring it in line with everything else.
Thanks,
Corprew
Comments
Comment #1
corprew commented(if it's conventient, I can provide this change as a diff or against the relevant repository for approval, I'm just unclear on what the correct procedure is for getting changes approved for modules.)
Comment #2
ilo commentedTo be honest I have no idea about the status of the taxonomy integration, but it worths the pain to review and update code or documentation, or both. However this is more about 'usability' than a bug report, if taxonomy is working properly when submitted with the correct case.
Comment #3
danepowell commentedSorry, there won't be any new features in 6.x-1.x unless a new branch maintainer comes along. You can add arbitrary commands in 6.x-2.x, so please consider upgrading.