When a student submitted a large PDF file and it was incorrectly detected as non-binary data by the binaryornot library, the inspect submission page tried to render it and caused the page to load slowly.
This is now fixed by always classifying files ending with '.pdf' as non-binary data.
Description
What?
When a student submitted a large PDF file and it was incorrectly detected as non-binary data by the binaryornot library, the inspect submission page tried to render it and caused the page to load slowly.
This is now fixed by always classifying files ending with '.pdf' as non-binary data.
Fixes #1298