summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/root
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-29 00:06:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-29 00:06:36 +0000
commit533d8dee9d7d0dad8443c6393886dc984b9d3c70 (patch)
tree81b77f3b624132c4d5eba662bb35c53bb9cf9a3a /libs/sgi-webuci/root
parentb2483cf23aec066a9b83efa35d24019b04ab8bc1 (diff)
add cookie support
Diffstat (limited to 'libs/sgi-webuci/root')
-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 879ef19b4..5c9531a2e 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)