Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73346

Backport fix on #16611 to Python 2.7

Date 2014-06-18 09:56 +0900
Subject Backport fix on #16611 to Python 2.7
From Makoto Kuwata <kwa@kuwata-lab.com>
Newsgroups comp.lang.python
Message-ID <mailman.11109.1403052963.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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')
    print(ck.output())  #=> Set-Cookie: name1=value1; Path=/xxx
            # (Missing 'httponly' and 'secure' attributes on Python <
3.3.2!)


This bug has been registered as #16611, and fixed on 3.3.3.
But it is not backported into Python 2.7.
http://bugs.python.org/issue16611

My question: Is there any plan to backport the fix to Python 2.7?

--
regards,
makoto kuwata

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Backport fix on #16611 to Python 2.7 Makoto Kuwata <kwa@kuwata-lab.com> - 2014-06-18 09:56 +0900

csiph-web