Merge pull request #336 from legendtang/fix
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
This commit is contained in:
commit
4ab6dcea9b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user