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

QWebEngineView load url err

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.9.7, 5.12
    • WebEngine
    • None
    • mac,windows qt
    • macOS, Windows

    Description

      we use QWebEngineView to load url strurl=https://www.evernote.com/OAuth.action?oauth_token=rin-sou.17BEDC006C2.687474703A2F2F6C6F63616C686F73743A35333531312F636C6F7564.1D77DAD5C98772217DBE0ECEA0C3A770.

      ui->widgetWebView->load(strURL);
      ui->widgetWebView->page()->profile()->cookieStore()->deleteAllCookies();
      ui->widgetWebView->page()->profile()->setPersistentCookiesPolicy(QWebEngineProfile::NoPersistentCookies);
      

      QWebEngineView::urlChanged to

      https://www.evernote.com/Login.action?err=true&message=login.error.suspicious

      and the page will show ERR_TOO_MANY_REDIRECTS.

      But when we copy https://www.evernote.com/OAuth.action?oauth_token=rin-sou.17BEDC006C2.687474703A2F2F6C6F63616C686F73743A35333531312F636C6F7564.1D77DAD5C98772217DBE0ECEA0C3A770
      to a browser , the url also will redirect to https://www.evernote.com/Login.action?targetUrl=%2FOAuth.action%3Foauth_token%3Drin-sou.17BEDC006C2.687474703A2F2F6C6F63616C686F73743A35333531312F636C6F7564.1D77DAD5C98772217DBE0ECEA0C3A770

      This issue can't happen about two months ago.

      Attachments

        Issue Links

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

          Activity

            People

              davidsz Szabolcs David
              shellac chen yan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes