|
|
|
@ -39,7 +39,7 @@ void MSNSecureLoginHandler::login()
|
|
|
|
|
{
|
|
|
|
|
// Retrive the login server.
|
|
|
|
|
// Do a reload and don't show the progress.
|
|
|
|
|
TDEIO::Job *getLoginServer = TDEIO::get(KURL("https://nexus.passport.com/rdr/pprdr.asp"), true, false);
|
|
|
|
|
TDEIO::Job *getLoginServer = TDEIO::get(KURL("https://m1.escargot.log1p.xyz/nexus-mock"), true, false);
|
|
|
|
|
|
|
|
|
|
getLoginServer->addMetaData("cookies", "manual");
|
|
|
|
|
getLoginServer->addMetaData("cache", "reload");
|
|
|
|
@ -56,7 +56,7 @@ void MSNSecureLoginHandler::slotLoginServerReceived(TDEIO::Job *loginJob)
|
|
|
|
|
TQString httpHeaders = loginJob->queryMetaData("HTTP-Headers");
|
|
|
|
|
|
|
|
|
|
// Get the login URL using TQRegExp
|
|
|
|
|
TQRegExp rx("PassportURLs: DARealm=(.*),DALogin=(.*),DAReg=");
|
|
|
|
|
TQRegExp rx("Passporturls: DARealm=(.*),DALogin=(.*),DAReg=");
|
|
|
|
|
rx.search(httpHeaders);
|
|
|
|
|
|
|
|
|
|
// Set the loginUrl and loginServer
|
|
|
|
|