Open
Description
Bug description
Running 5.0.0rc1, try to upload a spreadsheet with a capitalized extension and it causes an error:
It's a bummer that I get sent files like this but they are still valid files.
Superset version
master / latest-dev
Python version
I don't know
Node version
I don't know
Browser
Chrome
Additional context
I think the fix goes here: https://github.com/apache/superset/blob/master/superset-frontend/src/features/databases/UploadDataModel/index.tsx#L186-L187
Have that comparison happen with both the new file and the allow list first converted to lowercase. I can't test it out to send a PR right now, anyone is welcome to pick this up.
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.