Launchpad drops the trac-auth cookie when authenticating with LP Plugin enabled Tracs

Bug #278276 reported by Graham Binns
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Graham Binns

Bug Description

Launchpad cannot currently authenticate with Tracs that have the LP plugin installed. This is due to the XML-RPC transport being used for these connections having been changed to Urllib2Transport. With both the old and new transports the trac-auth cookie was being extracted from the response to the authentication request and then set manually on the XML-RPC transport.

It is much easier, however, to let Urllib2Transport's own CookieProcessor handle the cookies. Moreover, when the CookieProcessor handles the cookies, authentication works. When cookies are managed manually the cookie is lost and subsequent method calls fail.

Graham Binns (gmb)
Changed in malone:
assignee: nobody → gmb
importance: Undecided → High
milestone: none → 2.1.10
status: New → In Progress
Revision history for this message
Graham Binns (gmb) wrote :

Landed in r7151.

Changed in malone:
status: In Progress → Fix Committed
Graham Binns (gmb)
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.