Re: Backport fix on #16611 to Python 2.7

2014-06-19 Thread Makoto Kuwata
Sorry, I failed to post reply: -- Forwarded message -- From: Makoto Kuwata Date: Wed, Jun 18, 2014 at 5:32 PM Subject: Re: Backport fix on #16611 to Python 2.7 To: Terry Reedy On Wed, Jun 18, 2014 at 12:31 PM, Terry Reedy wrote: > > Do you have any plan to upgrade to 3

Re: Backport fix on #16611 to Python 2.7

2014-06-17 Thread Terry Reedy
On 6/17/2014 9:08 PM, Mark Lawrence wrote: On 18/06/2014 01:56, Makoto Kuwata wrote: Hi, I found a bug on SimpleCookie#load() which doesn't parse 'secure' and 'httponly' attributes correctly. try: from Cookie import SimpleCookie except: from http.cookies import Simp

Re: Backport fix on #16611 to Python 2.7

2014-06-17 Thread Mark Lawrence
On 18/06/2014 01:56, Makoto Kuwata wrote: Hi, I found a bug on SimpleCookie#load() which doesn't parse 'secure' and 'httponly' attributes correctly. try: from Cookie import SimpleCookie except: from http.cookies import SimpleCookie ck = SimpleCookie() ck.lo

Backport fix on #16611 to Python 2.7

2014-06-17 Thread Makoto Kuwata
Hi, I found a bug on SimpleCookie#load() which doesn't parse 'secure' and 'httponly' attributes correctly. try: from Cookie import SimpleCookie except: from http.cookies import SimpleCookie ck = SimpleCookie() ck.load('name1=value1; Path=/xxx; httponly; secure')