Share

nms

Tracker: Bugs

1 Formmail bug - ID: 1902325
Last Update: Settings changed ( davorg )

NMS FormMail Version 3.14c1 has a bug in which the script errors "The HTML
form fails to specify the POST method" on submit.

The error is on line 2235: if ($method ne 'POST')
The 'ne' operator is wrong and should be 'eq'.

I ran into this when my web host switched to a new platform and the NMS
script no longer worked.


Nobody/Anonymous ( nobody ) - 2008-02-26 16:39

1

Closed

None

Dave Cross

None

None

Public


Comments ( 2 )




Date: 2008-03-02 16:54
Sender: davorgProject Admin


It looks to me as though the existing code is exactly right. The method is
called "check_method_is_post" and the logic basically says:

if ($method ne 'POST') {
# return an error
} else {
# everything is ok
}

I can't see any problem with the code as it exists.


Date: 2008-02-28 20:36
Sender: nobody

Logged In: NO

You can delete this bug post. It is the server NMS is residing on that is
somehow flipping the POST method to a GET method. I was never able to
figure out why, but this "fix" was made to get around it. I am not
confident that this "fix" doesn't compromise NMS's security so I have no
alternative but to switch to a different form script.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2008-03-02 16:56 davorg
priority 5 2008-03-02 16:56 davorg
assigned_to nobody 2008-03-02 16:56 davorg
close_date - 2008-03-02 16:56 davorg