Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4307

The inbound Cookie header should be parsed using a semicolon separator by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.8, 2.5.4, 2.6.1
    • JAX-RS
    • None
    • Unknown

    Description

      The inbound Cookie header may contain something like this:

      Cookie: a=b;d=c

      At the moment the JAX-RS runtime assumes by default that this a single Cookie value, with the last name/value pair recognized and the first one dropped.

      It appears that browsers would more often than not collapse all the Cookies targeted at the specific endpoint into a single header.
      Thus a ';' should be used by default when parsing such headers; this can always be customized...

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: