python / python/cpython

email.parse part.get_filename() fails to unwrap long attachment file names (legacy API)

Đang mở
#84,539 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

topic-email
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

BPO 40359
Nosy @warsaw, @bitdancer
Files
  • mwe.py: python script with minimal working example
  • 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 2020-04-22.00:26:27.411>
    labels = ['expert-email']
    title = 'email.parse part.get_filename() fails to unwrap long attachment file names (legacy API)'
    updated_at = <Date 2020-04-28.12:27:30.371>
    user = 'https://bugs.python.org/matt-davis'
    

    bugs.python.org fields:

    activity = <Date 2020-04-28.12:27:30.371>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['email']
    creation = <Date 2020-04-22.00:26:27.411>
    creator = 'matt-davis'
    dependencies = []
    files = ['49083']
    hgrepos = []
    issue_num = 40359
    keywords = []
    message_count = 6.0
    messages = ['366963', '366965', '366966', '367117', '367493', '367523']
    nosy_count = 3.0
    nosy_names = ['barry', 'r.david.murray', 'matt-davis']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40359'
    versions = ['Python 3.6']
    

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Hướng nghiên cứu

    Bắt đầu với ví dụ tối thiểu có thể hoạt động mwe.py được liên kết và tái hiện lỗi thông qua email.parse và part.get_filename(), tập trung vào API email cũ. Theo dõi cách tên tệp đính kèm dài được xử lý và xác minh rằng hành vi đã hoàn thiện sẽ tháo gói tên đó đúng cách mà không gây hồi quy trong việc phân tích tên tệp hiện có.

    Do mô hình lập chỉ mục viết ra từ nội dung của issue.

    Đánh giá

    Công nghệ
    python
    Lĩnh vực
    backend
    Loại issue
    Lỗi
    Độ khó
    4/5
    Thời gian dự kiến
    3-5 ngày
    Mức độ hoạt động
    Đình trệ
    Độ rõ ràng
    Cần làm rõ
    Mức phù hợp với người mới
    25/100

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.