Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerSentEventHttpMessageReader leaves a leading space on field decoding [SPR-17511] #22043

Closed
spring-issuemaster opened this issue Nov 17, 2018 · 0 comments
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Nov 17, 2018

Boris Morris opened SPR-17511 and commented

When decoding fields, the following code is used

data.append(line.substring(5))

When the field is formatted as

name: <data>

Then the leading space is left on field.


Affects: 5.1.2

Issue Links:

  • #22042 ServerSentEventHttpMessageReader fails to process keep-alive events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.