luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
This commit is contained in:
parent
291834e707
commit
d79f5da13f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue