Diff

util/datamanager.lua @ 5250:6d8ec8c90240

util.datamanager: Don't escape the name of a store
author Kim Alvefur <zash@zash.se>
date Sun, 16 Dec 2012 14:36:24 +0100
parent 5244:775d98184acf
child 5440:a943e5cbf083
line wrap: on
line diff
--- a/util/datamanager.lua	Sun Dec 16 08:34:50 2012 +0100
+++ b/util/datamanager.lua	Sun Dec 16 14:36:24 2012 +0100
@@ -281,7 +281,7 @@
 
 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