Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1031

NewCookieHeaderDelegate ignores "Expires" field

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.7.Final
    • None
    • None
    • None

      When RESTEASY-919 added an "Expires" case in NewCookieHeaderDelegate parsing, it forgot to pass the parsed value to the constructed NewCookie: https://github.com/resteasy/Resteasy/commit/5061d37cad9e380ef4675975e5e8f88a3b114d83?w=1#diff-41624f8c8513fdc9bc90b6c3a46959e8

      The added test only checked that parsing wouldn't fail, without ever testing the parsed values: https://github.com/resteasy/Resteasy/commit/5061d37cad9e380ef4675975e5e8f88a3b114d83?w=1#diff-9eb733f44098fa75e4ff01723805d717

      Also, serializing a NewCookie ignores getExpiry too.

              patriot1burke@gmail.com Bill Burke (Inactive)
              t.broyer Thomas Broyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: