-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app): disallow non .py or .json protocol upload (#16076)
Analagous to our handling of non-.json custom labware upload, we want to disallow upload of .py or .json files on Desktop. Expected behavior is to check the filename extension of the prospective uploaded file (erring on the side of lenient acceptance), and close the slideout and make error toast if the extension is not .py or .json. Closes RQA-2959
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters