View Issue Details

IDProjectCategoryView StatusLast Update
0000600filegeneralpublic2017-04-11 15:00
ReporterPaul 
Assigned ToChristos Zoulas 
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Product Version5.30 
Target VersionFixed in Version 
Summary0000600: Office macro mime type detect
DescriptionThere are the following mime-types listed here https://technet.microsoft.com/en-us/library/ee309278(v=office.12).aspx
As far as I could understand from the code withing the file project, there is the file msooxml that contains such mimes but there are only 4 mime types that it can detect.

Is there any way reason why the other mime type weren't added? Or can this new mime types be added?
Thank you,
Paul
Tagsmacro, mime, office, type

Relationships

Activities

Christos Zoulas

Christos Zoulas

2017-03-24 15:34

manager   ~0001487

This is because we don't know what the other files look like internally so that we can add magic entries for them.
Paul

Paul

2017-03-24 15:50

reporter   ~0001488

Is it possible to look after the "xl/vbaProject.bin" string in the binary to determine if the file has macroEnabled type? I've test it on some file and it worked so far.
Christos Zoulas

Christos Zoulas

2017-04-11 15:00

manager   ~0001494

Sure, if you supply a patch I will add them.

Issue History

Date Modified Username Field Change
2017-03-21 08:20 Paul New Issue
2017-03-21 08:20 Paul Tag Attached: macro
2017-03-21 08:20 Paul Tag Attached: mime
2017-03-21 08:20 Paul Tag Attached: office
2017-03-21 08:20 Paul Tag Attached: type
2017-03-24 15:33 Christos Zoulas Assigned To => Christos Zoulas
2017-03-24 15:33 Christos Zoulas Status new => assigned
2017-03-24 15:34 Christos Zoulas Status assigned => feedback
2017-03-24 15:34 Christos Zoulas Note Added: 0001487
2017-03-24 15:50 Paul Note Added: 0001488
2017-03-24 15:50 Paul Status feedback => assigned
2017-04-11 15:00 Christos Zoulas Note Added: 0001494