Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize extensions #39

Merged
merged 1 commit into from
Aug 29, 2020

Conversation

IceDragon200
Copy link
Contributor

Summary

This PR normalizes the mime and extensions all as lower case

Related

Closes #38

Notes

I do have one irk, was it safe to downcase the entire line mime and extension, or should I have only downcased the extension, oh well

Test was adjusted to include one case where the original mime type had a mixed case
And one where using all caps
@josevalim josevalim merged commit 1af476a into elixir-plug:master Aug 29, 2020
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@chess4ever
Copy link

I think that this PR introduced an issue with nil, I have opened an issue #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Casing issues with some mimes
3 participants