Skip to content

cgi.FieldStorage, multipart, missing Content-Length #64703

Description

@srittau
mannequin
BPO 20504
Nosy @srittau, @vstinner, @benjaminp, @ned-deily, @smurfix, @PierreQuentel, @berkerpeksag, @miss-islington
PRs
  • bpo-20504 : fix issue in cgi.py when a multipart/form-data request has no content-length #10634
  • bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… #10638
  • [3.8] bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) #15919
  • [3.7] bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) #15920
  • Files
  • cgi-bug.py: test case
  • cgi.patch
  • issue20504.diff
  • 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-29.13:12:14.878>
    created_at = <Date 2014-02-03.21:33:19.147>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'cgi.FieldStorage, multipart, missing Content-Length'
    updated_at = <Date 2019-09-29.13:12:14.875>
    user = 'https://github.com/srittau'

    bugs.python.org fields:

    activity = <Date 2019-09-29.13:12:14.875>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-29.13:12:14.878>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2014-02-03.21:33:19.147>
    creator = 'srittau'
    dependencies = []
    files = ['33891', '35551', '40833']
    hgrepos = []
    issue_num = 20504
    keywords = ['patch']
    message_count = 16.0
    messages = ['210166', '220159', '220160', '220161', '220179', '252541', '253303', '253322', '253323', '326895', '326968', '330210', '351821', '351836', '351838', '353492']
    nosy_count = 9.0
    nosy_names = ['srittau', 'vstinner', 'benjamin.peterson', 'ned.deily', 'smurfix', 'quentel', 'berker.peksag', 'pdgoins-work', 'miss-islington']
    pr_nums = ['10634', '10638', '15919', '15920']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20504'
    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