From d8f5ce4759ac7077fadbcdc90842401b9fa69f2e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 29 May 2008 18:52:22 +0000 Subject: [PATCH] * Fixed dispatching regex --- libs/web/luasrc/dispatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index d075975da..14801c633 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 -- 2.25.1