summaryrefslogtreecommitdiffhomepage
path: root/libs/http
diff options
context:
space:
mode:
Diffstat (limited to 'libs/http')
-rw-r--r--libs/http/luasrc/http/protocol.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua
index 51cb02df2a..a187bed2e6 100644
--- a/libs/http/luasrc/http/protocol.lua
+++ b/libs/http/luasrc/http/protocol.lua
@@ -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