util.datamanager: Don't escape the name of a store
authorKim Alvefur <zash@zash.se>
Sun, 16 Dec 2012 13:36:24 +0000 (14:36 +0100)
committerKim Alvefur <zash@zash.se>
Sun, 16 Dec 2012 13:36:24 +0000 (14:36 +0100)
util/datamanager.lua

index b70ad93142be31292d8fa8195acc18ae0d5a2ebd..383e738fa1d93c1b104e284cf9a044d5ef0f6fcc 100644 (file)
@@ -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