Session-IDs are lowercase now

This commit is contained in:
Steven Barth 2009-07-10 17:06:19 +00:00
parent 7ba12e9c5e
commit 7dcb05fd1c

View file

@ -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