libs/http: Added handling of "+" in luci.http.protocl.urldecode
This commit is contained in:
parent
9778a65f16
commit
8579f2d8c7
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ function urldecode( str )
|
||||||
end
|
end
|
||||||
|
|
||||||
if type(str) == "string" then
|
if type(str) == "string" then
|
||||||
|
str = str:gsub( "+", " " )
|
||||||
str = str:gsub( "%%([a-fA-F0-9][a-fA-F0-9])", __chrdec )
|
str = str:gsub( "%%([a-fA-F0-9][a-fA-F0-9])", __chrdec )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue