Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
Storage
Describe the Bug
When uploading a file that is not acceptable (function validateFileType() from files.ts deems it so and calls the cb) the request remains pending forever
To Reproduce
Visit /admin/campaigns/create
Fill in form
Add a .exe file for the files
See 'pending' status* after submit
*requests tab in dev tools
Expected file returns a 4xx error
Expected Behavior
Expected unacceptable file request returns a 4xx error
Which browser are you using? (if relevant)
Edge Version 128.0.2739.54 (Official build) (64-bit) (also tested with chrome - same effect )
Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
Storage
Describe the Bug
When uploading a file that is not acceptable (function validateFileType() from files.ts deems it so and calls the cb) the request remains pending forever
To Reproduce
*requests tab in dev tools
Expected file returns a 4xx error
Expected Behavior
Expected unacceptable file request returns a 4xx error
Which browser are you using? (if relevant)
Edge Version 128.0.2739.54 (Official build) (64-bit) (also tested with chrome - same effect )