* Fixed dispatching regex

This commit is contained in:
Steven Barth 2008-05-29 18:52:22 +00:00
parent 8687547e47
commit d8f5ce4759

View file

@ -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