]> granicus.if.org Git - apache/commitdiff
get the hello world of Handlers working again
authorEric Covener <covener@apache.org>
Fri, 4 Nov 2011 21:17:57 +0000 (21:17 +0000)
committerEric Covener <covener@apache.org>
Fri, 4 Nov 2011 21:17:57 +0000 (21:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1197782 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/lua/mod_lua.c

diff --git a/CHANGES b/CHANGES
index 8e02fb298b05d32c6628d98567069a34ea04ae51..0831bb901160d865535d11bc28d74d1b0cde29a3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,9 @@ Changes with Apache 2.3.15
      PR 51714. [Stefan Fritsch, Jim Jagielski, Ruediger Pluem, Eric Covener,
      <lowprio20 gmail.com>]
 
+  *) mod_lua: Resolve "attempt to index local 'r' (a userdata value)" errors
+     in LuaMapHandler scripts [Eric Covener]
+
   *) mod_log_debug: Rename optional argument from if= to expr=, to be more
      in line with other config directives. [Stefan Fritsch]
 
index 6bce9a5d0fce3c18adc816c1042b117ac3ba1a47..816e674abac2093925b7e9d6d3cee8d7d5305bcb 100644 (file)
@@ -201,6 +201,9 @@ static int lua_alias_munger(request_rec *r)
                 spec->pool = r->pool;
             }
 
+            spec->cb = &lua_open_callback;
+            spec->cb_arg = NULL;
+
             d = apr_palloc(r->pool, sizeof(mapped_request_details));
 
             d->function_name = ap_pregsub(r->pool, cnd->function_name, r->uri,