From 5dff7ab140431d9b3a214a77388eb68cd92cf48a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 13 Nov 2010 20:51:15 +0000 Subject: [PATCH] luci-0.9: merge r6424 --- 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 83ce52cbf..fd864698d 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -61,7 +61,7 @@ function build_url(...) local p for _, p in ipairs(path) do - if p:match("^[a-zA-Z0-9_%-%./,;]+$") then + if p:match("^[a-zA-Z0-9_%-%.%%/,;]+$") then url[#url+1] = "/" url[#url+1] = p end -- 2.25.1