Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1551

Add two new exchange attributes for request cookie and response cookie


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.22.Final
    • 2.0.21.Final
    • Core
    • None

      CookieAttribute (%{c,cookie_name}) already exists for cookie. However, CookieAttribute#readAttribute() reads a request cookie and CookieAttribute#writeAttribute() writes a response cookie. This should have been two attributes, one for request cookie and another for response cookie.

      The current CookieAttribute can't be changed due to compatibility concerns. So, we need to add two new attributes to fix this. I would like to propose the following two attributes:

      • RequestCookieAttribute (%{req-cookie,cookie_name}) for request cookie
      • ResponseCookieAttribute (%{resp-cookie,cookie_name}) for response cookie

      If you have any other suggestion for the prefix name, please let me know.

            rhn-support-mmiura Masafumi Miura
            rhn-support-mmiura Masafumi Miura
            0 Vote for this issue
            1 Start watching this issue