Skip to content

Default MIME mappings are not loaded unless additional mappings are configured #40860

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

Closed
stefanbrenner opened this issue May 21, 2024 · 0 comments
Assignees
Labels
type: regression A regression from a previous release
Milestone

Comments

@stefanbrenner
Copy link

Spring Boot version: 3.3.0-RC1

In my TomcatEmbeddedContext none of the default MIME mappings are available.

This problem exists since commit 038ea2c. I commented my findings on this commit: 038ea2c#diff-68bf6ea3051d79bb9131d951d76a3a2e1e4dbe117a7ea545f28e59f68e7acc82R98

If I add

server.mime-mappings:
    "js": "text/javascript"

to my application.yml, all default mappings are loaded correctly.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 21, 2024
@philwebb philwebb added type: regression A regression from a previous release and removed status: waiting-for-triage An issue we've not yet triaged labels May 21, 2024
@philwebb philwebb added this to the 3.3.x milestone May 21, 2024
@wilkinsona wilkinsona self-assigned this May 22, 2024
@wilkinsona wilkinsona changed the title Default Mime Mappings are not loaded Default MIME mappings are not loaded unless additional mappings are configured May 22, 2024
@wilkinsona wilkinsona modified the milestones: 3.3.x, 3.3.0 May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

4 participants