Skip to content

Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError. #71495

Description

@MarcelHellkamp
BPO 27308
Nosy @bertjwregeer, @berkerpeksag
Superseder
  • bpo-24764: cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition
  • Files
  • foo.patch
  • 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 2016-06-13.20:03:47.476>
    created_at = <Date 2016-06-13.18:45:31.480>
    labels = ['type-bug', 'library']
    title = 'Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.'
    updated_at = <Date 2016-09-27.03:38:23.247>
    user = 'https://bugs.python.org/MarcelHellkamp'

    bugs.python.org fields:

    activity = <Date 2016-09-27.03:38:23.247>
    actor = 'X-Istence'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-06-13.20:03:47.476>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2016-06-13.18:45:31.480>
    creator = 'Marcel Hellkamp'
    dependencies = []
    files = ['43378']
    hgrepos = []
    issue_num = 27308
    keywords = ['patch']
    message_count = 5.0
    messages = ['268460', '268462', '268466', '268468', '277481']
    nosy_count = 3.0
    nosy_names = ['X-Istence', 'berker.peksag', 'Marcel Hellkamp']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '24764'
    type = 'behavior'
    url = 'https://bugs.python.org/issue27308'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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