Content-Length: 281222 | pFad | https://github.com/python/cpython/issues/95087

79 email.utils.parsedate_tz() crashes on certain inputs · Issue #95087 · python/cpython · GitHub
Skip to content

email.utils.parsedate_tz() crashes on certain inputs #95087

@wbolster

Description

@wbolster

Date/time parsing routines in the email module can crash (instead of returning None) for certain inputs:

>>> email.utils.parsedate_tz('17 June , 2022')
IndexError: string index out of range

This is similar to bpo-45001 (GH-89164)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/95087

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy