wrap ap_construct_url as r:construct_url(String) */
| 546 | |
| 547 | /* wrap ap_construct_url as r:construct_url(String) */ |
| 548 | static int req_construct_url(lua_State *L) |
| 549 | { |
| 550 | request_rec *r = ap_lua_check_request_rec(L, 1); |
| 551 | const char *name = luaL_checkstring(L, 2); |
| 552 | lua_pushstring(L, ap_construct_url(r->pool, name, r)); |
| 553 | return 1; |
| 554 | } |
| 555 | |
| 556 | /* wrap ap_escape_html r:escape_html(String) */ |
| 557 | static int req_escape_html(lua_State *L) |
nothing calls this directly
no test coverage detected