mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Prior to this commit, the `MappingMediaTypeFileExtensionResolver` would resolve file extensions for a given media type by using a direct lookup using the given media type provided by the request. If the request contains a quality parameter like "application/json;q=0.9", this would not resolve configured file extensions for this media type. While other media type parameters can be meaningful, the quality parameter should not be used for lookups. This commit ensures that the quality parameter is dropped before performing lookups. Fixes gh-35754