projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15edb98
)
util.datamanager: expose path decode and encode functions.
author
Marco Cirillo
<maranda@lightwitch.org>
Sun, 7 Apr 2013 16:56:49 +0000
(16:56 +0000)
committer
Marco Cirillo
<maranda@lightwitch.org>
Sun, 7 Apr 2013 16:56:49 +0000
(16:56 +0000)
util/datamanager.lua
patch
|
blob
|
history
diff --git
a/util/datamanager.lua
b/util/datamanager.lua
index 383e738fa1d93c1b104e284cf9a044d5ef0f6fcc..9f29458c2b86b61d60d222f901bbfaece9f6b5c8 100644
(file)
--- a/
util/datamanager.lua
+++ b/
util/datamanager.lua
@@
-354,4
+354,6
@@
function purge(username, host)
return #errs == 0, t_concat(errs, ", ");
end
+_M.path_decode = decode;
+_M.path_encode = encode;
return _M;