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-projects-issues opened this issue Nov 17, 2018 · 0 comments
Assignees
Labels
in: web type: bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues 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
@spring-projects-issues spring-projects-issues added type: bug status: waiting-for-triage in: web and removed type: bug labels Jan 11, 2019
@rstoyanchev rstoyanchev added this to the 5.1.5 milestone Jan 18, 2019
@rstoyanchev rstoyanchev added type: enhancement type: bug and removed status: waiting-for-triage type: enhancement labels Jan 18, 2019
@rstoyanchev rstoyanchev self-assigned this Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web type: bug
Projects
None yet
Development

No branches or pull requests

2 participants