Diff

util/datamanager.lua @ 10666:dfc8257d8445

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 24 Feb 2020 23:33:53 +0100
parent 10531:810abf34919a
parent 10665:69acda92d5a9
child 11288:5fd1f1b544a0
line wrap: on
line diff
--- a/util/datamanager.lua	Mon Feb 24 20:21:46 2020 +0100
+++ b/util/datamanager.lua	Mon Feb 24 23:33:53 2020 +0100
@@ -321,7 +321,7 @@
 
 local function users(host, store, typ) -- luacheck: ignore 431/store
 	typ = type_map[typ or "keyval"];
-	local store_dir = format("%s/%s/%s", data_path, encode(host), store);
+	local store_dir = format("%s/%s/%s", data_path, encode(host), store_encode(store));
 
 	local mode, err = lfs.attributes(store_dir, "mode");
 	if not mode then