https://bz.apache.org/bugzilla/show_bug.cgi?id=62369

            Bug ID: 62369
           Summary: req:parseargs returns wrong result
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_lua
          Assignee: bugs@httpd.apache.org
          Reporter: massimiliano.calandre...@gmail.com
  Target Milestone: ---

The second table returned by parseargs() should contain a map from a query
string argument name to an array filled with its values, but this array always
contains just one element, having the last value specified in the query string
for that parameter.
This is because lua_request.c uses ap_args_to_table, which in turn uses
apr_table_set instead of apr-table-add.

Not being sure if apr_args_to_table is intentionally written that way or if
it's just a bug, I patched lua_request.c.

Please note that this patch also includes another one regarding
set_output_filter().

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to