From: Steven Barth Date: Fri, 10 Jul 2009 17:06:19 +0000 (+0000) Subject: Session-IDs are lowercase now X-Git-Tag: 0.10.0~1385 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7dcb05fd1c4abb4281f6e8eb35616c3a545c961e;p=oweals%2Fluci.git Session-IDs are lowercase now --- 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