* Fixed dispatching regex
This commit is contained in:
parent
8687547e47
commit
d8f5ce4759
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ function httpdispatch()
|
||||||
local pathinfo = luci.http.env.PATH_INFO or ""
|
local pathinfo = luci.http.env.PATH_INFO or ""
|
||||||
local c = tree
|
local c = tree
|
||||||
|
|
||||||
for s in pathinfo:gmatch("([%w_]+)") do
|
for s in pathinfo:gmatch("([%w-]+)") do
|
||||||
table.insert(request, s)
|
table.insert(request, s)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue