Closed
Description
Affects: 5.3.11+
org.springframework.http.codec.ServerSentEventHttpMessageReader.buildEvent(List<String> lines, ResolvableType valueType, boolean shouldWrap, Map<String, Object> hints)
yields a StringIndexOutOfBoundsException if a line equals "data:", because line.charAt(5)
is called.
This means that it fails at reading server-sent events that are heartbeats.