summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-webuci/root/usr')
-rw-r--r--libs/sgi-webuci/root/usr/lib/boa/luci.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-webuci/root/usr/lib/boa/luci.lua b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
index 879ef19b4f..5c9531a2e6 100644
--- a/libs/sgi-webuci/root/usr/lib/boa/luci.lua
+++ b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
@@ -58,6 +58,7 @@ function handle_req(context)
env.PATH_INFO = context.uri
env.REMOTE_PORT = context.remote_port
env.SERVER_ADDR = context.server_addr
+ env.HTTP_COOKIE = context.cookie
env.SCRIPT_NAME = env.REQUEST_URI:sub(1, #env.REQUEST_URI - #env.PATH_INFO)
luci.sgi.webuci.run(env, vars)