luci-0.9: merge r6424

This commit is contained in:
Jo-Philipp Wich 2010-11-13 20:51:15 +00:00
parent d31df673fa
commit 5dff7ab140

View file

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