webmcp
diff framework/env/param/get_id_cgi.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 | 9fdfb27f8e67 |
children | 774a891dc74f |
line diff
1.1 --- a/framework/env/param/get_id_cgi.lua Tue Aug 21 00:59:08 2012 +0200 1.2 +++ b/framework/env/param/get_id_cgi.lua Wed Oct 10 17:41:46 2012 +0200 1.3 @@ -1,11 +1,13 @@ 1.4 --[[-- 1.5 -value = -- id string or nil 1.6 +value = -- id as string (or other type after if params.exchange(...) has been used), or nil 1.7 param.get_id_cgi() 1.8 1.9 -This function returns the string value of the _webmcp_id GET/POST parameter. 1.10 +Deprecated. Alias for param.get_id_raw(). 1.11 1.12 --]]-- 1.13 1.14 +-- TODO: Remove this function. 1.15 + 1.16 function param.get_id_cgi() 1.17 - return cgi.params._webmcp_id 1.18 + return param.get_id_raw() 1.19 end