Skip to content

tarfile.py: fix GNU and USTAR formats to properly handle paths with special characters that are encoded with more than one byte each #69026

@RoddyShuler

Description

@RoddyShuler
BPO 24838
Nosy @gustaebel, @vstinner, @serhiy-storchaka
Files
  • fix-tarfile-path-truncation.patch: Patch to fix tarfile truncation with multi-byte characters
  • 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 = 'https://github.com/gustaebel'
    closed_at = <Date 2016-04-19.10:02:47.483>
    created_at = <Date 2015-08-10.18:04:23.355>
    labels = ['type-bug', 'library']
    title = 'tarfile.py: fix GNU and USTAR formats to properly handle paths with special characters that are encoded with more than one byte each'
    updated_at = <Date 2016-11-29.12:04:09.406>
    user = 'https://bugs.python.org/RoddyShuler'

    bugs.python.org fields:

    activity = <Date 2016-11-29.12:04:09.406>
    actor = 'vstinner'
    assignee = 'lars.gustaebel'
    closed = True
    closed_date = <Date 2016-04-19.10:02:47.483>
    closer = 'lars.gustaebel'
    components = ['Library (Lib)']
    creation = <Date 2015-08-10.18:04:23.355>
    creator = 'Roddy Shuler'
    dependencies = []
    files = ['40157']
    hgrepos = []
    issue_num = 24838
    keywords = ['patch']
    message_count = 7.0
    messages = ['248363', '248576', '263713', '263719', '263722', '263723', '281986']
    nosy_count = 5.0
    nosy_names = ['lars.gustaebel', 'vstinner', 'python-dev', 'serhiy.storchaka', 'Roddy Shuler']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24838'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    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