Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17511

ServerSentEventHttpMessageReader leaves a leading space on field decoding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.2
    • Fix Version/s: Waiting for Triage
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdeleuze S├ębastien Deleuze
              Reporter:
              bmorris591 Boris Morris
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                3 years, 24 weeks, 1 day ago