webmcp
changeset 248:4748410d27ac
Added missing pairs(...) call in for-loop in request.process() implementation
author | jbe |
---|---|
date | Sun Mar 01 21:18:56 2015 +0100 (2015-03-01) |
parents | 36c3a7518902 |
children | b4b6e1fc74e8 |
files | framework/env/request/process.lua |
line diff
1.1 --- a/framework/env/request/process.lua Sun Mar 01 21:16:55 2015 +0100 1.2 +++ b/framework/env/request/process.lua Sun Mar 01 21:18:56 2015 +0100 1.3 @@ -66,7 +66,7 @@ 1.4 assert(routing_view, "Routing information has no view.") 1.5 if routing_mode == "redirect" then 1.6 local routing_params = {} 1.7 - for key, value in request.get_param_strings{ method="POST", include_internal=true } do 1.8 + for key, value in pairs(request.get_param_strings{ method="POST", include_internal=true }) do 1.9 local status, stripped_key = string.match( 1.10 key, "^_webmcp_routing%.([^%.]*)%.params%.(.*)$" 1.11 )