jersey
  1. jersey
  2. JERSEY-2090

HttpOnly is not added to Set-Cookie header from NewCookie

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4.1
    • Component/s: None
    • Labels:
      None

      Description

      Pretty easy to reproduce: construct a NewCookie using the constructor which takes httpOnly boolean as the last argument, and then do toString() on it. The resulting string is the value which is added in the Set-Cookie header, and it misses ;HttpOnly. I created a pull request for this on Github (see https://github.com/jersey/jersey/pull/32).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Michal Gajdos
            Reporter:
            joscarsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h