Skip to content

cookielib.CookieJar.make_cookies fails for cookies with 'expires' set #56353

@ScottWimer

Description

@ScottWimer
BPO 12144
Nosy @terryjreedy, @jcea, @orsenthil, @bitdancer, @asvetlov, @vadmium, @demianbrecht, @miss-islington, @tirkarthi
PRs
  • bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies #13921
  • [3.8] bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) #16088
  • [3.7] bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) #16089
  • [3.7] bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) #16092
  • Files
  • cookielib-crash.py: Trigger the bug.
  • cookielib-crash.patch: Patch to fix cookielib.py to handle expires header in make_cookies.
  • cookiejar_12144.patch: Update on latest source, from project root.
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-09-13.12:22:28.942>
    created_at = <Date 2011-05-22.02:58:44.317>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = "cookielib.CookieJar.make_cookies fails for cookies with 'expires' set"
    updated_at = <Date 2019-09-13.12:22:28.941>
    user = 'https://bugs.python.org/ScottWimer'

    bugs.python.org fields:

    activity = <Date 2019-09-13.12:22:28.941>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-13.12:22:28.942>
    closer = 'asvetlov'
    components = ['Library (Lib)']
    creation = <Date 2011-05-22.02:58:44.317>
    creator = 'Scott.Wimer'
    dependencies = []
    files = ['22054', '22055', '29257']
    hgrepos = []
    issue_num = 12144
    keywords = ['patch']
    message_count = 15.0
    messages = ['136497', '136498', '136499', '136580', '137151', '183105', '220882', '220905', '338277', '338281', '340825', '340827', '352290', '352299', '352309']
    nosy_count = 10.0
    nosy_names = ['terry.reedy', 'jcea', 'orsenthil', 'r.david.murray', 'asvetlov', 'Scott.Wimer', 'martin.panter', 'demian.brecht', 'miss-islington', 'xtreak']
    pr_nums = ['13921', '16088', '16089', '16092']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12144'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions