Session-IDs are lowercase now
authorSteven Barth <steven@midlink.org>
Fri, 10 Jul 2009 17:06:19 +0000 (17:06 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 10 Jul 2009 17:06:19 +0000 (17:06 +0000)
libs/web/luasrc/dispatcher.lua

index b0f6c1e4daad6760506a73709662bd386adb4431..8fddf02122a2294b1d390387e967c828e9123f85 100644 (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