-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Awaiting payment][SMARTSCAN] LOW: Prevent uploading invalid files as receipts. #29960
Comments
Triggered auto assignment to @kadiealexander ( |
Job added to Upwork: https://www.upwork.com/jobs/~015865ac74df1824c8 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor Plus for review of internal employee PR - @situchan ( |
This issue has not been updated in over 15 days. @Gonals, @kadiealexander, @situchan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
This has already been fixed. @kadiealexander, we just have payment left, right? |
It can be easily done by checking the mimetype of selected file |
📣 @AbdallaEmadEldinAbdalla! 📣
|
Problem
Currently, in the backend, we only allow certain filetypes as receipts:
$regFileTypes = '/(jpe?g|gif|png|pdf|html?|text|rtf|doc|tiff?|msword|zip|xml|message)/i';
We don't have any frontend checks for them.
Solution
Add those checks on the frontend for a better user experience
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: