MCPcopy Create free account
hub / github.com/apache/httpd / req_construct_url

Function req_construct_url

modules/lua/lua_request.c:548–554  ·  view source on GitHub ↗

wrap ap_construct_url as r:construct_url(String) */

Source from the content-addressed store, hash-verified

546
547/* wrap ap_construct_url as r:construct_url(String) */
548static 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) */
557static int req_escape_html(lua_State *L)

Callers

nothing calls this directly

Calls 2

ap_construct_urlFunction · 0.85
ap_lua_check_request_recFunction · 0.70

Tested by

no test coverage detected