# HG changeset patch # User Kim Alvefur # Date 1582582568 -3600 # Node ID 69acda92d5a97abba6b812e79397c1e625da5ea3 # Parent ee6c122644206b8fed6f9809f978965ac216f7d7 util.datamanager: Fix iterating over "users" (thanks marc0s) The 'store' path componend used to be unescaped until 756a2a00e7e7 added escaping to address issues with characters like '/' used in PEP, but with a special case for '_' which was already in common use in 'store' path components. Missed adding this escaping here. diff -r ee6c12264420 -r 69acda92d5a9 util/datamanager.lua --- a/util/datamanager.lua Sat Feb 22 16:23:43 2020 +0100 +++ b/util/datamanager.lua Mon Feb 24 23:16:08 2020 +0100 @@ -320,7 +320,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