Merge pull request #336 from legendtang/fix

luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
This commit is contained in:
Jo-Philipp Wich 2015-03-10 18:56:41 +01:00
commit 4ab6dcea9b

View file

@ -72,7 +72,7 @@ function urlencode( str )
if type(str) == "string" then
str = str:gsub(
"([^a-zA-Z0-9$_%-%.%+!*'(),])",
"([^a-zA-Z0-9$_%-%.!*'(),])",
__chrenc
)
end