You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Dominic Barnes (JIRA)" <ji...@apache.org> on 2010/11/02 15:58:31 UTC

[jira] Created: (COUCHDB-931) HTML Input Arrays not recognized

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.