We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443def3 commit 7fe7ecbCopy full SHA for 7fe7ecb
src/manage_nsfs/nc_lifecycle.js
@@ -1459,7 +1459,7 @@ class NCLifecycle {
1459
_parse_key_from_line(entry, bucket_json) {
1460
const line_array = entry.path.split(' ');
1461
const file_path = line_array[line_array.length - 1];
1462
- let file_key = file_path.replace(bucket_json.path, '');
+ let file_key = file_path.replace(path.join(bucket_json.path, '/'), '');
1463
const basename = path.basename(file_key);
1464
if (basename.startsWith(config.NSFS_FOLDER_OBJECT_NAME)) {
1465
file_key = path.join(path.dirname(file_key), '/');
0 commit comments