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

The asynchronous Http1HeaderParser doesn't handle all line folds correctly

    XMLWordPrintable

Details

    • 10
    • b40
    • Verified

    Backports

      Description

        RFC 2616 defines LWS as:
               LWS = [CRLF] 1*( SP | HT )

        The Http1HeaderParser doesn't always handle them correctly.
        For instance, a header of the form:

        www-authenticate: Digest realm="earth",\r\n
            qop="auth",\r\n
            nonce="3f28384e8320269dd386991bf67736b4"

        will get truncated at the first line.

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: