You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/12/05 08:17:07 UTC
svn commit: r723631 -
/httpd/httpd/branches/wombat-integration/modules/wombat/request.c
Author: pquerna
Date: Thu Dec 4 23:17:07 2008
New Revision: 723631
URL: http://svn.apache.org/viewvc?rev=723631&view=rev
Log:
Use ap_args_to_table instead of apreq for GET query params.
Modified:
httpd/httpd/branches/wombat-integration/modules/wombat/request.c
Modified: httpd/httpd/branches/wombat-integration/modules/wombat/request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/wombat-integration/modules/wombat/request.c?rev=723631&r1=723630&r2=723631&view=diff
==============================================================================
--- httpd/httpd/branches/wombat-integration/modules/wombat/request.c (original)
+++ httpd/httpd/branches/wombat-integration/modules/wombat/request.c Thu Dec 4 23:17:07 2008
@@ -139,11 +139,10 @@
/* r:parseargs() returning a lua table */
static int req_parseargs(lua_State* L) {
request_rec* r = apw_check_request_rec(L, 1);
- apreq_handle_t* h = apreq_handle_apache2(r);
lua_newtable(L);
lua_newtable(L); /* [table, table] */
const apr_table_t* form_table;
- if (apreq_args(h, &form_table) == APR_SUCCESS) {
+ if (ap_args_to_table(r, &form_table) == APR_SUCCESS) {
apr_table_do(req_aprtable2luatable_cb, L, form_table, NULL);
}
return 2; /* [table<string, string>, table<string, array<string>>] */