From 7dcb05fd1c4abb4281f6e8eb35616c3a545c961e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 10 Jul 2009 17:06:19 +0000 Subject: [PATCH] Session-IDs are lowercase now --- libs/web/luasrc/dispatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1