diff --git a/Cargo.toml b/Cargo.toml index acb8550..545dc9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ hex = "0.4.3" indicatif = "0.17" lazy_static = "1.4.0" libesedb = "0.2.4" -mft = "0.6" +mft = { git = "https://github.com/reece394/mft.git" , rev = "865549c" } # modified fork notatin = "1.0" once_cell = "1.0" prettytable-rs = "0.10" diff --git a/src/file/mft.rs b/src/file/mft.rs index a91d273..397b81d 100644 --- a/src/file/mft.rs +++ b/src/file/mft.rs @@ -156,7 +156,7 @@ pub fn extract_data_streams(parser: &mut Parser, entry: &MftEntry) -> crate::Res // Replace file path seperators with underscores let sanitized_path = path - .to_string_lossy() + .to_string() .chars() .map(|c| if path::is_separator(c) { '_' } else { c }) .collect::();