mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #4507 from APriestman/4681_dontStartRelativePathsWithSlash
4681 Remove leading slash and normalize the rest
This commit is contained in:
commit
c9e557a241
@ -516,8 +516,7 @@ class MSOfficeEmbeddedContentExtractor {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private String getFileRelativePath(String fileName) {
|
private String getFileRelativePath(String fileName) {
|
||||||
// Used explicit FWD slashes to maintain DB consistency across operating systems.
|
return Paths.get(moduleDirRelative, this.parentFileName, fileName).toString();
|
||||||
return "/" + moduleDirRelative + "/" + this.parentFileName + "/" + fileName; //NON-NLS
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user