POST 'ing data in an XMLHTTP request working differently in this version

RESOLVED INVALID

Status

()

Firefox
General
RESOLVED INVALID
9 years ago
9 years ago

People

(Reporter: Tom Weber, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9

In a javascript function that is building data to submit to a server via a POST, the arguments appear on the server as one argument, but using the same string with a GET, it works fine. I tried starting the POST data with and without a question mark, but neither works. This may have broken at 3.0.8, but not sure if I had that version. 

Reproducible: Always

Steps to Reproduce:
1. call a javascript to parse a dom, finding input fields
2. append (concatenate) the field names with an equals and get its value in the format fieldname=value
3. place '&' between each field/value pair.
4. use a ? or not in the POST string.
Actual Results:  
on the server, the POST'ed request appears as one big param reading via perl. Changing the request to a GET, it works fine, using the same string. 

Expected Results:  
Provided separated field/value pairs
(Reporter)

Comment 1

9 years ago
This report was not accurate. This was a slight problem with my raw javascript.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.