aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-16 02:40:50 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-16 02:40:50 +0000
commite2d0d043df5adccb40575af6626535850d110cbb (patch)
tree1a448b2f0c53925370f7ec635e6e037c58143520 /util/datamanager.lua
parent19910bcd283e98429564dfff75847b155e72ed86 (diff)
parentd3d9a986ba588bba4f28b856f19f2a75209d3763 (diff)
downloadprosody-e2d0d043df5adccb40575af6626535850d110cbb.tar.gz
prosody-e2d0d043df5adccb40575af6626535850d110cbb.zip
Second merge from waqas
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index e229de1c..45da17dd 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -44,7 +44,7 @@ do
end
encode = function (s)
- return s and (s:gsub("%W", function (c) return format("%%%x", c:byte()); end));
+ return s and (s:gsub("%W", function (c) return format("%%%02x", c:byte()); end));
end
end