[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo
From:       Matt Rogers <mattr () kde ! org>
Date:       2010-01-14 3:39:16
Message-ID: 1263440356.842491.11789.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1074413 by mattr:

Fix downloading files with Yahoo!

The C cookie apparently doesn't matter anymore, and was causing file
transfers to fail to start.

Patch by Michael Cole. Thanks!

CCMAIL: mcole@mycam-asia.tv

 M  +1 -2      logintask.cpp  
 M  +2 -2      receivefiletask.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/logintask.cpp \
#1074412:1074413 @@ -428,8 +428,7 @@
 			m_cCookie = getcookie( cookie.toLatin1() );
 		}
     	}
-	if( !m_yCookie.isEmpty() && !m_tCookie.isEmpty() &&
-		!m_cCookie.isEmpty() )
+	if( !m_yCookie.isEmpty() && !m_tCookie.isEmpty())
 		emit haveCookies();
 }
 
--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/receivefiletask.cpp \
#1074412:1074413 @@ -200,8 +200,8 @@
 		QObject::connect( m_transferJob, SIGNAL( result( KJob* ) ), this, SLOT( \
slotComplete( KJob* ) ) );  QObject::connect( m_transferJob, SIGNAL( data( KIO::Job*, \
const QByteArray & ) ), this, SLOT( slotData( KIO::Job*, const QByteArray & ) ) );  \
                m_transferJob->addMetaData("cookies", "manual");
-		m_transferJob->addMetaData("setcookies", QString::fromLatin1("Cookie: T=%1; \
                path=/; domain=.yahoo.com; Y=%2; C=%3;")
-				.arg(client()->tCookie()).arg(client()->yCookie()).arg(client()->cCookie()) );
+ 		m_transferJob->addMetaData("setcookies", QString::fromLatin1("Cookie: T=%1; \
path=/; domain=.yahoo.com; Y=%2;  path=/; domain=.yahoo.com;") + \
.arg(client()->tCookie()).arg(client()->yCookie()) );  }
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic