Fix issue with parsing media types
Invalid Content-Type or Accept header values previously resulted in the
IllegalArgumentException getting propagated. After this change such
errors are detected and generally treated as a "no match", which
may for example result in a 406 in the case of the Accept header.
Issue: SPR-9142
Backport-Issue: SPR-9148
Backport-Commit: ca8b98e947
This commit is contained in:
@@ -15,6 +15,7 @@ Changes in version 3.1.2 (2012-06-??)
|
||||
* EhCacheFactoryBean applies listeners and enabled/disabled flags to existing cache regions as well
|
||||
* ServletContextResource's getFile implementation falls back to getRealPath for non-existent files
|
||||
* fixed StandardServletMultipartResolver compatibility with Resin (only deleting actual file parts)
|
||||
* fix issue with parsing invalid Content-Type or Accept headers
|
||||
|
||||
|
||||
Changes in version 3.1.1 (2012-02-16)
|
||||
|
||||
Reference in New Issue
Block a user