Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6641309

Wrong Cookie separator used in HttpURLConnection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 7
    • 5.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: