summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 51cb02df2..a187bed2e 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