jbe@91: --[[-- jbe@91: params = jbe@91: param.get_param_strings() jbe@91: jbe@99: 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"). Modifications of the returned table have no side effects. jbe@91: jbe@91: --]]-- jbe@91: jbe@95: function request.get_param_strings() jbe@99: local t = {} jbe@99: for key, value in pairs(request._params) do jbe@100: if type(value) == 'table' then jbe@99: t[key] = table.new(value) jbe@99: else jbe@99: t[key] = value jbe@99: end jbe@99: end jbe@99: return t jbe@91: end