]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-21987: Fix TarFile.getmember getting a dir with a trailing slash (GH-30283)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 21 Jan 2022 08:05:57 +0000 (00:05 -0800)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 08:05:57 +0000 (00:05 -0800)
commit1d11fdd3eeff77ba600278433b7ab0ce4d2a7f3b
tree1b3c63ed7b07f6c2f9fef644e2269cd1bd00e617
parente5edc8d737a45d9d8b9b93b8be52f85d79d0f417
bpo-21987: Fix TarFile.getmember getting a dir with a trailing slash (GH-30283)

(cherry picked from commit cfadcc31ea84617b1c73022ce54d4ae831333e8d)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS.d/next/Library/2021-12-28-11-55-10.bpo-21987.avBK-p.rst [new file with mode: 0644]