aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-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