libs/http: Added handling of "+" in luci.http.protocl.urldecode

This commit is contained in:
Steven Barth 2008-07-05 14:23:50 +00:00
parent 9778a65f16
commit 8579f2d8c7

View file

@ -30,6 +30,7 @@ function urldecode( str )
end
if type(str) == "string" then
str = str:gsub( "+", " " )
str = str:gsub( "%%([a-fA-F0-9][a-fA-F0-9])", __chrdec )
end