From 89f1f43c9df397efb09e06b5ca69e88158ea2935 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 15 Jun 2008 21:11:34 +0000 Subject: * Fixed SGI webuci to work with new HTTP API --- libs/web/luasrc/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/web/luasrc') diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index 89385a1617..f2c3660739 100644 --- a/libs/web/luasrc/http.lua +++ b/libs/web/luasrc/http.lua @@ -52,7 +52,7 @@ function Request.__init__(self, env, instream, errstream) self.message = { env = env, headers = {}, - params = luci.http.protocol.urldecode_params("?"..env.QUERY_STRING), + params = luci.http.protocol.urldecode_params("?"..(env.QUERY_STRING or "")), } setmetatable(self.message.params, {__index = -- cgit v1.2.3