projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba12e9
)
Session-IDs are lowercase now
author
Steven Barth
<steven@midlink.org>
Fri, 10 Jul 2009 17:06:19 +0000
(17:06 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 10 Jul 2009 17:06:19 +0000
(17:06 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index b0f6c1e4daad6760506a73709662bd386adb4431..8fddf02122a2294b1d390387e967c828e9123f85 100644
(file)
--- 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-F
0-9]+$")
+ sess = sess and sess:match("^[
a-f
0-9]+$")
verifytoken = true
end