FlashMapManager throws StringIndexOutOfBoundsException for empty target URL path #23240
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Hello,
My project is currently using Spring MVC version 5.0.8.
Incidentally, I found a technical error relating to the library.
It is about the method
decodeAndNormalizePath
of theAbstractFlashMapManager
class. If you look at the implementation, you can easily see that it is wrong. An empty path will pass thenull
check but fail to get the first character.The text was updated successfully, but these errors were encountered: