spring-framework/spring-webmvc/src
Sam Brannen db8be50161 Support empty target request path in FlashMap
Prior to this commit, if the user configured an empty path for the
targetRequestPath property of a FlashMap, the FlashMapManager threw a
StringIndexOutOfBoundsException when saving the output FlashMap for the
next request.

This commit fixes this by skipping the decoding and normalization of an
empty target request path.

Fixes gh-23240
2019-07-07 18:38:26 +02:00
..
main Support empty target request path in FlashMap 2019-07-07 18:38:26 +02:00
test Support empty target request path in FlashMap 2019-07-07 18:38:26 +02:00