couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Barnes (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-931) HTML Input Arrays not recognized
Date Tue, 02 Nov 2010 14:58:31 GMT
HTML Input Arrays not recognized
--------------------------------

                 Key: COUCHDB-931
                 URL: https://issues.apache.org/jira/browse/COUCHDB-931
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
         Environment: Linux
Ubuntu 10.10
64-bit
            Reporter: Dominic Barnes
            Priority: Minor


I came across this dealing with an update handler that was handling a POST request from an
HTML Form.
If I use an array of inputs (multiple name="foo[]" ...) and POST to the update handler, I
will get req.form.foo[] = "bar", instead of an array of values (req.form.foo = ["bar", ...])
I'm not sure if this is by design, or if it's even within the scope of CouchDB's HTTP interface,
but I figured I would bring it up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message