broken behaviour with non image files in pre authorisation screenshot field
- Dominant language
- Ruby
- Stars
- 870
- Forks
- 138
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 205
Description
### Describe your goals
review the following report
https://hcb.hackclub.com/grants/YeIpVN/pre_authorizations
### Describe the bug
user uploaded a PDF copy of the reciept, an image format was expected but non image formats weren't blocked.
On the pre auth page both the uploader and myself (the reviewer) were unable to see the uploaded PDF file.
either non image formats should be blocked or PDFs should be rendered/downloadable/supported.
Contributor guide
Research direction
Start by reproducing the linked pre-authorisation report with a PDF receipt and trace the screenshot upload and display path on the pre-auth page. Done means either non-image uploads are clearly rejected or PDFs are supported for both the uploader and reviewer, with the chosen behavior covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100