mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-06 01:15:10 -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:
parent
c5395e5ff1
commit
5f8fb5ad2c
@ -16,7 +16,7 @@ public class MacXattrView {
|
|||||||
|
|
||||||
public MacXattrView(Path path) {
|
public MacXattrView(Path path) {
|
||||||
// MacOS filesystem may require NFD unicode decomposition
|
// 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() {
|
public List<String> list() {
|
||||||
|
Loading…
Reference in New Issue
Block a user