isolate test directory

This commit is contained in:
2024-07-16 09:16:59 -05:00
parent fbfb528adc
commit cd484aa7bb
7 changed files with 152 additions and 162 deletions

View File

@ -184,8 +184,7 @@ auto encrypt_provider::do_fs_operation(
}
}
source_path =
utils::path::absolute(utils::path::combine(cfg.path, {source_path}));
source_path = utils::path::combine(cfg.path, {source_path});
if (source_path != cfg.path &&
not source_path.starts_with(cfg.path +
utils::path::directory_seperator)) {