net/http: invalid RAR sniff signature from the MIME Sniff spec #30926
Labels
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am coming here from CL https://go-review.googlesource.com/c/go/+/167781 created by @Gnouc's vigilance.
In particular it uses a wrong character for the 4th byte i.e.
0x20 " " for both RAR v5 and RAR v4 instead of 0x21 "!"
as per
go/src/net/http/sniff.go
Lines 188 to 189 in faa7fa0
The sniff signature that we got from the MIME sniff spec is wrong and that's acknowledged at
whatwg/mimesniff#63
but also the official RAR Labs website shows the correct signature as
https://www.rarlab.com/technote.htm#rarsign
The text was updated successfully, but these errors were encountered: