mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
4782 add missing dot before extension to new file names for embedded images
This commit is contained in:
parent
94225be5a7
commit
2a19dc71aa
@ -304,7 +304,7 @@ class MSOfficeEmbeddedContentExtractor {
|
|||||||
byte[] data = null;
|
byte[] data = null;
|
||||||
int pictureNumber = 0; //added to ensure uniqueness in cases where suggestFullFileName returns duplicates
|
int pictureNumber = 0; //added to ensure uniqueness in cases where suggestFullFileName returns duplicates
|
||||||
for (Picture picture : listOfAllPictures) {
|
for (Picture picture : listOfAllPictures) {
|
||||||
String fileName = UNKNOWN_IMAGE_NAME_PREFIX +pictureNumber + picture.suggestFileExtension();
|
String fileName = UNKNOWN_IMAGE_NAME_PREFIX +pictureNumber +"."+ picture.suggestFileExtension();
|
||||||
try {
|
try {
|
||||||
data = picture.getContent();
|
data = picture.getContent();
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user