projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
484a454
)
util.datamanager: Don't escape the name of a store
author
Kim Alvefur
<zash@zash.se>
Sun, 16 Dec 2012 13:36:24 +0000
(14:36 +0100)
committer
Kim Alvefur
<zash@zash.se>
Sun, 16 Dec 2012 13:36:24 +0000
(14:36 +0100)
util/datamanager.lua
patch
|
blob
|
history
diff --git
a/util/datamanager.lua
b/util/datamanager.lua
index b70ad93142be31292d8fa8195acc18ae0d5a2ebd..383e738fa1d93c1b104e284cf9a044d5ef0f6fcc 100644
(file)
--- a/
util/datamanager.lua
+++ b/
util/datamanager.lua
@@
-281,7
+281,7
@@
local type_map = {
function users(host, store, typ)
typ = type_map[typ or "keyval"];
- local store_dir = format("%s/%s/%s", data_path, encode(host),
encode(store)
);
+ local store_dir = format("%s/%s/%s", data_path, encode(host),
store
);
local mode, err = lfs.attributes(store_dir, "mode");
if not mode then