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

The asynchronous Http1HeaderParser doesn't handle all line folds correctly

    Details

    • Subcomponent:
    • Introduced In Version:
      10
    • Resolved In Build:
      b40
    • Verification:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: