summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-29 18:52:22 +0000
committerSteven Barth <steven@midlink.org>2008-05-29 18:52:22 +0000
commitd8f5ce4759ac7077fadbcdc90842401b9fa69f2e (patch)
tree4b4b19c5306963c8c92e1992be6e676265c995da /libs
parent8687547e47b7c90099013b903e89113300903d27 (diff)
* Fixed dispatching regex
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index d075975da3..14801c6335 100644
--- 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