Message.get_filename produces exception if the RFC2231 encoding is ill-formed

Aberta
#61,571 8 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
backend

Direção de pesquisa

Start with the Message.get_filename behavior described in issue 17369 and review the attached collapse_rfc2231_value.patch and rfc2231_issue17369_in_progress.patch. Reproduce the failure using an ill-formed RFC2231 value and inspect the existing email handling around it. Done means the malformed value no longer produces an exception, with regression coverage for that case.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

stdlib topic-email type-bug
BPO 17369
Nosy @warsaw, @vstinner, @bitdancer, @karlcow
Files
  • collapse_rfc2231_value.patch
  • rfc2231_issue17369_in_progress.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 = None
    created_at = <Date 2013-03-06.22:25:40.309>
    labels = ['type-bug', 'expert-email']
    title = 'Message.get_filename produces exception if the RFC2231 encoding is ill-formed'
    updated_at = <Date 2019-07-29.11:49:58.757>
    user = 'https://github.com/bitdancer'
    

    bugs.python.org fields:

    activity = <Date 2019-07-29.11:49:58.757>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['email']
    creation = <Date 2013-03-06.22:25:40.309>
    creator = 'r.david.murray'
    dependencies = []
    files = ['29344', '29781']
    hgrepos = []
    issue_num = 17369
    keywords = ['patch']
    message_count = 8.0
    messages = ['183619', '183630', '183631', '183704', '186585', '210538', '210539', '348639']
    nosy_count = 6.0
    nosy_names = ['barry', 'vstinner', 'r.david.murray', 'karlcow', 'python-dev', 'Ankur.Ankan']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17369'
    versions = []
    

    Linguagem predominante
    Python
    Estrelas
    77.2k
    Forks
    36k
    Merge médio
    1d 9h
    PRs com merge (30d)
    558

    Guia de contribuição

    Abrir o guia de contribuição

    Primeiros passos

    1. Leia a issue inteira e depois o guia de contribuição do projeto.
    2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
    3. Faça um fork do repositório e trabalhe em uma branch.
    4. Abra um pull request que referencie o número da issue.

    Mais de python/cpython

    Todas as issues de python/cpython

    Issues semelhantes

    Mais issues de Python

    Receba novas issues na sua caixa de entrada

    Um resumo curto de issues do GitHub para quem está começando.