Skip to content

Commit 211b7fb

Browse files
committed
TIKA-4655 - fix grib
1 parent ed13241 commit 211b7fb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4162,7 +4162,12 @@
41624162
<_comment>General Regularly-distributed Information in Binary form</_comment>
41634163
<tika:link>http://en.wikipedia.org/wiki/GRIB</tika:link>
41644164
<magic priority="50">
4165-
<match value="GRIB" type="string" offset="0"/>
4165+
<match value="GRIB" type="string" offset="0">
4166+
<match value="\x01" type="string" offset="7"/>
4167+
</match>
4168+
<match value="GRIB" type="string" offset="0">
4169+
<match value="\x02" type="string" offset="7"/>
4170+
</match>
41664171
</magic>
41674172
<glob pattern="*.grb"/>
41684173
<glob pattern="*.grb1"/>

0 commit comments

Comments
 (0)