-
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 C+ Payment confirmation] [HOLD for payment 2023-08-21] [$1000] Inconsistent file error result on uploading unsupported file type #19718
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.Inconsistent file error result on uploading unsupported file type What is the root cause of that problem?Not allowed file type checking done via variable from const file here Lines 41 to 95 in 12d2f3c
We can see What changes do you think we should make in order to solve the problem?We have to add UNALLOWED_EXTENSIONS: [
...
'exe',
'gz', // *** Add this
'hta',
...
] What alternative solutions did you explore? (Optional)None Result19718-Unallowed.mov |
Yeah, seems clear to me. Though, @Beamanator are we just going to keep running into this maintaining a list of "unallowed filetypes" versus a list of allowed ones and then throwing the front-end error if it's not one of them? 😕 |
Job added to Upwork: https://www.upwork.com/jobs/~018f83b776223928ef |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Triggered auto assignment to @amyevans ( |
@trjExpensify gooood question, I think there's another issue somewhere else where someone has been working on allowing all file types? Or many more or something like that? I've really only mainly worked on image file type stuff for avatars sorry :D |
I believe it's @youssef-lr |
I'm not really sure if we should fix this, or, as a few engineers have suggested, remove this limitation and allow all filetypes to be uploaded. We initially implemented this as a measure of security to protect users from downloading potentially harmful files in public rooms. I think I'll bring this up and Slack to see if we really need to be blocking certain filetypes or not. |
Discussion here: https://expensify.slack.com/archives/C03TQ48KC/p1685473892542269 |
Thanks! |
Where did we land here? |
Cool, seems like we have agreement yeah? |
Yes, let's field an external proposal to remove the cc @PrashantMangukiya in case you'd like to update your proposal |
@amyevans Sure, let me update proposal to remove |
Woops, on it. |
PR hit staging 4 days ago, Melv. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.53-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-08-21. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The cause of the initially reported issue is missing of certain file type in |
Regression Test Proposal
Do we agree 👍 or 👎 |
Requested payment on newDot. |
Okay, so confirming payments as follows:
As for the regression test proposal, we already have multiple (and more common) different file types being tested, so I don't think we need to add one for .tar and .exe specifically. |
@kerupuksambel - sent you an offer! |
Accepted the offer, thank you! |
Paid! Updating the title to await confirmation of @sobitneupane's. |
@amyevans, @youssef-lr, @trjExpensify, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@amyevans, @youssef-lr, @trjExpensify, @sobitneupane 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@trjExpensify Do we need to keep it open for confirmation of C+ payment? I think on other issues I've seen them closed prior. |
Reviewed the details for @sobitneupane. $1,000 approved for payment in NewDot based on BZ summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Both should have consistent unsupported file type error
Actual Result:
While trying to attach .exe file returned error dialog immediately, trying to attach .tar.gz file doesn't returned the same dialog error and returned the error on sending the message instead
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.19-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Inconsistent.File.Filter.mp4
Recording.785.mp4
Expensify/Expensify Issue URL:
Issue reported by: @kerupuksambel
Slack conversation:
https://expensify.slack.com/archives/C049HHMV9SM/p1684986305893649
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: