diff --git a/CHANGES b/CHANGES index 8e02fb298b..0831bb9011 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,9 @@ Changes with Apache 2.3.15 PR 51714. [Stefan Fritsch, Jim Jagielski, Ruediger Pluem, Eric Covener, ] + *) 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] diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index 6bce9a5d0f..816e674aba 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -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,