Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binaryornot library sometimes incorrectly classifies PDF files as non-binary #1298

Closed
ihalaij1 opened this issue Oct 27, 2023 · 0 comments · Fixed by #1299
Closed

Binaryornot library sometimes incorrectly classifies PDF files as non-binary #1298

ihalaij1 opened this issue Oct 27, 2023 · 0 comments · Fixed by #1299
Assignees
Labels
area: performance Related to the performance of the system type: bug This is a bug

Comments

@ihalaij1
Copy link
Contributor

When large PDF files are detected as non-binary data, the inspect submission page tries to render them and causes the page to load slowly.

@ihalaij1 ihalaij1 added type: bug This is a bug area: performance Related to the performance of the system labels Oct 27, 2023
@ihalaij1 ihalaij1 self-assigned this Oct 27, 2023
@ihalaij1 ihalaij1 moved this to Under review in A+ sprints Oct 27, 2023
ihalaij1 added a commit to ihalaij1/a-plus that referenced this issue Oct 27, 2023
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.

Fixes apluslms#1298
markkuriekkinen pushed a commit to ihalaij1/a-plus that referenced this issue Oct 28, 2023
When a student submitted a large PDF file and it was incorrectly
detected as non-binary (plain text) data by the binaryornot library,
the inspect submission page tried to render a preview of the file.
It caused the page to load slowly.

Fixes apluslms#1298
markkuriekkinen pushed a commit that referenced this issue Oct 28, 2023
When a student submitted a large PDF file and it was incorrectly
detected as non-binary (plain text) data by the binaryornot library,
the inspect submission page tried to render a preview of the file.
It caused the page to load slowly.

Fixes #1298
@github-project-automation github-project-automation bot moved this from Under review to Done in A+ sprints Oct 28, 2023
markkuriekkinen pushed a commit to markkuriekkinen/a-plus that referenced this issue Oct 28, 2023
When a student submitted a large PDF file and it was incorrectly
detected as non-binary (plain text) data by the binaryornot library,
the inspect submission page tried to render a preview of the file.
It caused the page to load slowly.

Fixes apluslms#1298
murhum1 pushed a commit to murhum1/a-plus that referenced this issue Dec 21, 2023
When a student submitted a large PDF file and it was incorrectly
detected as non-binary (plain text) data by the binaryornot library,
the inspect submission page tried to render a preview of the file.
It caused the page to load slowly.

Fixes apluslms#1298
ihalaij1 added a commit to ihalaij1/a-plus that referenced this issue Dec 22, 2023
When a student submitted a large PDF file and it was incorrectly
detected as non-binary (plain text) data by the binaryornot library,
the inspect submission page tried to render a preview of the file.
It caused the page to load slowly.

Fixes apluslms#1298
ihalaij1 added a commit to ihalaij1/a-plus that referenced this issue Dec 22, 2023
When a student submitted a large PDF file and it was incorrectly
detected as non-binary (plain text) data by the binaryornot library,
the inspect submission page tried to render a preview of the file.
It caused the page to load slowly.

Fixes apluslms#1298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: performance Related to the performance of the system type: bug This is a bug
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants