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:
8687547
)
* Fixed dispatching regex
author
Steven Barth
<steven@midlink.org>
Thu, 29 May 2008 18:52:22 +0000
(18:52 +0000)
committer
Steven Barth
<steven@midlink.org>
Thu, 29 May 2008 18:52:22 +0000
(18:52 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index d075975da3fb2a26157d882de4d7cbbf41f239a2..14801c633505190cf4458b8ba878d82e6d1c2a9c 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-80,7
+80,7
@@
function httpdispatch()
local pathinfo = luci.http.env.PATH_INFO or ""
local c = tree
- for s in pathinfo:gmatch("([%w
_
]+)") do
+ for s in pathinfo:gmatch("([%w
-
]+)") do
table.insert(request, s)
end