Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64359

Facebook login fails with enabled HTTP/2 but works otherwise

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.10.0 Beta 3
    • Fix Version/s: 5.10.0 RC, 5.9.4
    • Component/s: Network: HTTP, WebKit
    • Labels:
      None
    • Commits:
      7c334301bd32376538390027f7481c4b5f3eab49

      Description

      Logging into Facebook fails in QtWebKit when QNetworkRequest::HTTP2AllowedAttribute is enabled.

      In both cases POST request to https://www.facebook.com/login.php?login_attempt=1&lwv=111 is sent, however response has different content of Set-Cookie header.

      If I log in with HTTP/1.1 and cookies are saved to disk, HTTP/2 uses them correctly and main page loads correctly

        Attachments

        1. insp_http1_1.txt
          2 kB
        2. insp_http2.txt
          1 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                tpochep Timur Pocheptsov
                Reporter:
                annulen Konstantin Tokarev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes