webmcp
diff framework/env/request/get_param_strings.lua @ 91:2f8d8edd1836
URL parsing inside WebMCP to simplify webserver configuration
author | jbe |
---|---|
date | Wed Oct 10 17:41:46 2012 +0200 (2012-10-10) |
parents | |
children | df9a192d36d5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/framework/env/request/get_param_strings.lua Wed Oct 10 17:41:46 2012 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +--[[-- 1.5 +params = 1.6 +param.get_param_strings() 1.7 + 1.8 +This function returns a table with all raw GET/POST parameters as strings or list of strings (except internal parameters like "_webmcp_path" or "_webmcp_id"). The returned table must not be modified. 1.9 + 1.10 +--]]-- 1.11 + 1.12 +function param.get_param_strings() 1.13 + return request._params 1.14 +end