Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-16220

HTTP/Post steps don't handle response headers with duplicate entries (eg cookies)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 GA
    • Fix Version/s: 7.1.0 GA
    • Component/s: Step
    • Labels:
      None
    • Environment:
      N/A
    • Story Points:
      0
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide

      1) Get the header response of this site and check that it returns multiple cookies in different header lines:
      http://www.nasdaq.com/aspx/marketstatus.aspx
      2) Create a transformation with the HTTP step
      3) Use http://www.nasdaq.com/aspx/marketstatus.aspx as the URL
      4) Select request headers field
      5) Run that the transformation and check that only the last cookie is reported.

      Show
      1) Get the header response of this site and check that it returns multiple cookies in different header lines: http://www.nasdaq.com/aspx/marketstatus.aspx 2) Create a transformation with the HTTP step 3) Use http://www.nasdaq.com/aspx/marketstatus.aspx as the URL 4) Select request headers field 5) Run that the transformation and check that only the last cookie is reported.

      Description

      The http response can return multiple headers with the same name. This is typical with cookies:
      Set-Cookie: __Secure-ID=123; Secure; Domain=example.com
      Set-Cookie: __Host-ID=123; Secure; Path=/
      The current code only returns the last one.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rfradinho.bi Ricardo Fradinho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: