1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

TODO: disable 0-termination when reading / writing xattr String values (older versions will not be forwards compatible with this change)

This commit is contained in:
Reinhard Pointner 2018-06-03 18:43:19 +07:00
parent c5395e5ff1
commit 5f8fb5ad2c

View File

@ -16,7 +16,7 @@ public class MacXattrView {
public MacXattrView(Path path) {
// MacOS filesystem may require NFD unicode decomposition
this.path = Normalizer.normalize(path.toFile().getAbsolutePath(), Form.NFD);
this.path = Normalizer.normalize(path.toAbsolutePath().toString(), Form.NFD);
}
public List<String> list() {