Skip to content

support encoded filename in Content-Disposition for HTTP in cgi.FieldStorage #67622

Closed as not planned
@MyroslavOpyr

Description

@MyroslavOpyr
BPO 23434
Nosy @warsaw, @ezio-melotti, @bobince, @bitdancer, @vadmium, @serhiy-storchaka, @demianbrecht, @pawciobiel
PRs
  • bpo-33027: Fix cgi.FieldStorage to handle Content-Disposition filename* with encoding according to RFC5987 #6027
  • Files
  • test_cgi.py-v2.7.5-rfc6266_filename.patch: test revealing the issue
  • cgi.py-v2.7.5-rfc6266_filename.patch: rfc6266 powered fix
  • 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 = None
    created_at = <Date 2015-02-10.14:54:47.750>
    labels = ['3.7', '3.8', 'expert-email', 'type-feature', 'library', 'expert-unicode']
    title = 'support encoded filename in Content-Disposition for HTTP in cgi.FieldStorage'
    updated_at = <Date 2020-01-08.10:45:02.342>
    user = 'https://bugs.python.org/MyroslavOpyr'

    bugs.python.org fields:

    activity = <Date 2020-01-08.10:45:02.342>
    actor = 'aclover'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Unicode', 'email']
    creation = <Date 2015-02-10.14:54:47.750>
    creator = 'Myroslav.Opyr'
    dependencies = []
    files = ['38092', '38094']
    hgrepos = []
    issue_num = 23434
    keywords = ['patch']
    message_count = 11.0
    messages = ['235688', '235732', '235734', '235909', '236101', '236365', '314265', '314297', '359224', '359533', '359577']
    nosy_count = 10.0
    nosy_names = ['barry', 'ezio.melotti', 'aclover', 'r.david.murray', 'Myroslav.Opyr', 'martin.panter', 'piotr.dobrogost', 'serhiy.storchaka', 'demian.brecht', 'pawciobiel']
    pr_nums = ['6027']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23434'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions