Wrong Cookie separator used in HttpURLConnection

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 7
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • 5.0
    • b25
    • generic
    • generic
    • Verified

      HttpURLConnection uses ';' as a separtor for multiple cookies in the HTTP request headers, as it is specified in RFC 2965. However in the "real world" the expected separator is a semi-colon followed by a space (probably due to early implementation in Netscape).
      The net effect is that many web servers can't parse correctly the Cookie: header as set by HttpURLConnection.

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Jean-Christophe Collet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: