You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message #9164
There are a huge number of extensions out there and the approach of allowing them one by one doesn't seem to scale well. It doesn't make sense for me to block files just because we don't have the extension in our list. If we care about blocking some extensions, I would do a list of blocked extension and allow the rest.
The approach of allowing the through a list made more sense to me in the context of the Old Expensify app, because it was just used to share receipts (afaik). I'll ask for other opinions in slack.
Regarding 2), I think it makes some sense to duplicate the check in the front end and block the user before sending the request with the file... this is similar to form validations done in the front and back, but I see it as low priority.
Regarding 3), my guess is that we will never be able to prevent 100% someone sending a "virus", so it should be always good to have some "clause somewhere that we are not responsible for content shared" (no matter if we try to scan for virus or not). Scanning for virus is nice to have I would say, but I'm don't know if we already have some of that implemented or if it is difficult to implement.
changed the title [-][$250] Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message[/-][+]Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message[/+]on Jun 13, 2022
Activity
melvin-bot commentedon May 24, 2022
Triggered auto assignment to @Gonals (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.kbecciv commentedon May 25, 2022
@Gonals Also we have the same behavior for mp3 file as well.
Bug5578199_trim.188F3C22-0BB2-4BE7-99CA-D281B7F16E68.1.mp4
melvin-bot commentedon May 26, 2022
Triggered auto assignment to @Christinadobrzyn (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.Gonals commentedon May 26, 2022
I think this can be external!
33 remaining items
aldo-expensify commentedon Jun 10, 2022
There are a huge number of extensions out there and the approach of allowing them one by one doesn't seem to scale well. It doesn't make sense for me to block files just because we don't have the extension in our list. If we care about blocking some extensions, I would do a list of blocked extension and allow the rest.
The approach of allowing the through a list made more sense to me in the context of the Old Expensify app, because it was just used to share receipts (afaik). I'll ask for other opinions in slack.
Regarding 2), I think it makes some sense to duplicate the check in the front end and block the user before sending the request with the file... this is similar to form validations done in the front and back, but I see it as low priority.
Regarding 3), my guess is that we will never be able to prevent 100% someone sending a "virus", so it should be always good to have some "clause somewhere that we are not responsible for content shared" (no matter if we try to scan for virus or not). Scanning for virus is nice to have I would say, but I'm don't know if we already have some of that implemented or if it is difficult to implement.
Christinadobrzyn commentedon Jun 13, 2022
Ah, thank you for confirming! Sorry for the confusion. I removed the job in Upwork.
[-][$250] Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message[/-][+]Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message[/+]mvtglobally commentedon Jun 21, 2022
Issue not reproducible during KI retests. (First week)
aldo-expensify commentedon Jun 21, 2022
I asked for opinions in slack here. I'll try to put some work on this later this week
mvtglobally commentedon Jun 28, 2022
Issue not reproducible during KI retests. (Second week) for original file formats
aldo-expensify commentedon Jun 29, 2022
Haven't got time to work on this again yet
aldo-expensify commentedon Jun 30, 2022
I'm going to close this issue because the original upload problems related to the specific file types .mp3/.ps was solved in the backend.
Improving the front end feedback on failure will be done with the refactoring that is happening here: https://github.com/Expensify/Expensify/issues/211241 / #9556
I don't think it is worth doing it now because it will probably have to be undone.
I created a new GH issue for updating how we handle file types in the backend.