summaryrefslogtreecommitdiffhomepage
path: root/libs/web
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-15 21:11:34 +0000
committerSteven Barth <steven@midlink.org>2008-06-15 21:11:34 +0000
commit89f1f43c9df397efb09e06b5ca69e88158ea2935 (patch)
tree8fb4e782e647f9bb132e03267bb4ee667343b026 /libs/web
parent8d2f6c7041ac47f1ea615053d2f693f79f42c1ae (diff)
* Fixed SGI webuci to work with new HTTP API
Diffstat (limited to 'libs/web')
-rw-r--r--libs/web/luasrc/http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua
index 89385a161..f2c366073 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 =