Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: false positives checking for Ogg files #20513
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Hello there @gtownsend, thanks for filing the issue. Nice catch.
My apologies, the bug is that unfortunately I mismatched and used:
I'll make a CL and a test for it, although Brad is on vacation for a week, but if anyone can help me review and merge it that'd be nice.
Anyways, the catch here is that the bug for "application/ogg" gives a false positive if the byte pattern BITWISE AND'd with