2010/5/13 Beckheng Lam <bi.k...@gmail.com>:
> I have take a look on ngx_form_input. I wonder to know how to work
> if the posted data contains foo=1&foo=2 ?
> In my test it just get the first value.
Yup, for now it just reads the first parameter and ignores the rest,
just like how $arg_PARAM variables work in the nginx core for the URL
Maybe we can have a form_input_get_multi directive for this, which
will be used like this:
form_input_allow_multi $foo sep=|; # foo=1&foo=2 results in $foo == 1|2
Will you provide a patch for this feature? ;)
You received this message because you are subscribed to the Google Groups "openresty" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/openresty?hl=en.