Skip to content

Commit 4b489c0

Browse files
Correct the RAR signature
Fixes #63.
1 parent 51a6d85 commit 4b489c0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mimesniff.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,8 +1775,10 @@ algorithm</dfn>:
17751775

17761776

17771777
<tr>
1778+
<!-- RAR Legacy (up to 4.x) signature -->
1779+
<!-- https://www.rarlab.com/technote.htm#rarsign -->
17781780
<td>
1779-
52 61 72 20 1A 07 00
1781+
52 61 72 21 1A 07 00
17801782

17811783
<td>
17821784
FF FF FF FF FF FF FF
@@ -1788,8 +1790,8 @@ algorithm</dfn>:
17881790
<code>application/x-rar-compressed</code>
17891791

17901792
<td>
1791-
The string "<code>Rar </code>" followed by SUB BEL NUL, the RAR
1792-
archive signature.
1793+
The string "<code>Rar!</code>" followed by SUB BEL NUL, the RAR
1794+
4.x archive signature.
17931795

17941796

17951797

0 commit comments

Comments
 (0)