Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Jul 27, 2020

The file extension to mime type mapping must not depend on the file
extension's case for case-insensitive file systems, and should not
for case-sensitive file systems.

The file extension to mime type mapping *must* not depend on the file
extension's case for case-insensitive file systems, and *should* not
for case-sensitive file systems.
@nikic
Copy link
Member

nikic commented Jul 27, 2020

and should not for case-sensitive file systems.

I don't disagree, but do you happen to know if other servers (like apache or nginx) treat the extension case-insensitively on case-sensitive file systems as well?

@cmb69
Copy link
Member Author

cmb69 commented Jul 27, 2020

For Apache's AddEncoding directive and NGinX's type directive, the file extension is documented to be case-insensitive.

@cmb69
Copy link
Member Author

cmb69 commented Jul 27, 2020

Thanks! Applied as 6f18d7e.

@cmb69 cmb69 closed this Jul 27, 2020
@cmb69 cmb69 deleted the cmb/77932 branch July 27, 2020 09:59
@cmb69 cmb69 added the Bug label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants