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

The asynchronous Http1HeaderParser doesn't handle all line folds correctly

XMLWordPrintable

    • 10
    • b40
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: