Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Servlet
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Attached a proof of concept project using gradle 6.0.1. Run the project with
      ./gradlew clean bootRun

      Perform a simple GET eg. using curl
      curl localhost:8080/test --cookie "USER_TOKEN=abc:def"

      The backend will print the cookie's value, but will only print "abc" when we'd expect to see the full string "abc:def".

      Show
      Attached a proof of concept project using gradle 6.0.1. Run the project with ./gradlew clean bootRun Perform a simple GET eg. using curl curl localhost:8080/test --cookie "USER_TOKEN=abc:def" The backend will print the cookie's value, but will only print "abc" when we'd expect to see the full string "abc:def".

      Description

      Creating a simple Spring-Boot project with a GET endpoint where we pass a cookie "USER_TOKEN" with value "Something:sometoken", when retrieving and printing the passed cookie's value we find it has been truncated on the first occurrence of the ':' character.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                flaviu-toader Flaviu-Dorin Toader
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: