aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-20 12:05:43 +0100
committerKim Alvefur <zash@zash.se>2016-11-20 12:05:43 +0100
commitb0adfce172e216dfe0a8767f598e80b0493a118c (patch)
tree3b53a79e8565e0e2f4a89930f36cf4f0ec7c2907
parenteb67213599670c9453dd32e37ed9f1bc7d809f96 (diff)
downloadprosody-b0adfce172e216dfe0a8767f598e80b0493a118c.tar.gz
prosody-b0adfce172e216dfe0a8767f598e80b0493a118c.zip
util.datamanager: Remove extraneous decoding of + to space, which we never never encode to
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 148605d9..ddc71899 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -53,7 +53,7 @@ do
local urlcodes = setmetatable({}, { __index = function (t, k) t[k] = char(tonumber(k, 16)); return t[k]; end });
decode = function (s)
- return s and (s:gsub("+", " "):gsub("%%([a-fA-F0-9][a-fA-F0-9])", urlcodes));
+ return s and (s:gsub("%%([a-fA-F0-9][a-fA-F0-9])", urlcodes));
end
encode = function (s)