mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 02:09:05 +00:00
This commit makes sure that `CharacterEncodingFilter` is ordered with the `Ordered.HIGHEST_PRECEDENCE` and that other filters, potentially reading the request body, are ordered after. In this particular case, both `WebMvcMetricsFilter` and `ErrorPageFilter` are now ordered at `Ordered.HIGHEST_PRECEDENCE + 1` to avoid cases where the request body is read before the encoding configuration is taken into account. Closes gh-11607