[Webkit-unassigned] [Bug 51767] New: QWebView::load(QUrl("https://msft.spoppe.com/sites/SPO14/KnowledgeCenter/SitePages/Home.aspx")) showing blank page, not doing redirection required for displaying that web page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 30 22:14:27 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51767
Summary: QWebView::load(QUrl("https://msft.spoppe.com/sites/SPO
14/KnowledgeCenter/SitePages/Home.aspx")) showing
blank page, not doing redirection required for
displaying that web page
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Critical
Priority: P1
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: vbs_3 at yahoo.co.in
Hi,
I am trying to load a https url by using QWebView::load() method by using Qt Windows 4.7.0. I don't know the exact version of QtWebKit for that. The url is "https://msft.spoppe.com/sites/SPO14/KnowledgeCenter/SitePages/Home.aspx". When i tried this url in the internet explorer, i found that it is redirected to "https://login.microsoftonline.com/login.srf?wa=wsignin1%2E0&rpsnv=2&ct=1293774959&rver=6%2E1%2E6206%2E0&wp=MBI&wreply=https%3A%2F%2Fmsft%2Espoppe%2Ecom%2F%5Fforms%2Fdefault%2Easpx&lc=1033&id=269115&cbcxt=mai&wlidp=1" url and displaying the content. But when i tried to load this "https://msft.spoppe.com/sites/SPO14/KnowledgeCenter/SitePages/Home.aspx" url, Qt Windows is showing a blank page. Basically it's not doing the redirection needed for displaying the appropriate content. Please find the sample code used below:
main.cpp:
#include "QWebViewTestApp.h"
#include <QtGui>
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWebViewTestApp w;
w.showMaximized();
return a.exec();
}
QWebViewTestApp.h:
#include <QtGui/QMainWindow>
#include <QWebView>
class QWebViewTestApp : public QMainWindow
{
Q_OBJECT
public:
QWebViewTestApp(QWidget *parent = 0);
~QWebViewTestApp();
private:
QWebView *myWebView;
};
QWebViewTestApp.cpp:
QWebViewTestApp::QWebViewTestApp(QWidget *parent)
: QMainWindow(parent)
{
myWebView = new QWebView(this);
myWebView->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
myWebView->load(QUrl("https://msft.spoppe.com/sites/SPO14/KnowledgeCenter/SitePages/Home.aspx")); // case 1
setCentralWidget(myWebView);
}
QWebViewTestApp::~QWebViewTestApp()
{
if (myWebView)
{
delete myWebView;
myWebView = NULL;
}
}
Please let me know if you need more information on this. Please verify this ASAP and provide a fix for this.
Thanks & Regards,
BalaSubrahmanyam Varanasi
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list