sfirke opened a new issue, #32654:
URL: https://github.com/apache/superset/issues/32654

   ### Bug description
   
   Running 5.0.0rc1, try to upload a spreadsheet with a capitalized extension 
and it causes an error:
   
   
![Image](https://github.com/user-attachments/assets/5d087ecb-260a-444c-85ba-dfa8a0aa7e0d)
   
   It's a bummer that I get sent files like this but they are still valid files.
   
   ### Screenshots/recordings
   
   
![Image](https://github.com/user-attachments/assets/1dc478fc-3e20-45e2-baf5-c377570c66a6)
   
   ### 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to