summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-07-10 17:06:19 +0000
committerSteven Barth <steven@midlink.org>2009-07-10 17:06:19 +0000
commit7dcb05fd1c4abb4281f6e8eb35616c3a545c961e (patch)
tree05db15d5ff6c9dc2186e61d90005e7319a610b2f /libs
parent7ba12e9c5eafd809237fa69464e8b601926e9513 (diff)
Session-IDs are lowercase now
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index b0f6c1e4d..8fddf0212 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -258,7 +258,7 @@ function dispatch(request)
local verifytoken = false
if not sess then
sess = luci.http.getcookie("sysauth")
- sess = sess and sess:match("^[A-F0-9]+$")
+ sess = sess and sess:match("^[a-f0-9]+$")
verifytoken = true
end