This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 serhiy.storchaka
收信人 af, andrei.avk, lars.gustaebel, moloney, puppet, r.david.murray, serhiy.storchaka, vstinner, zigg
日期 2021-12-28.18:51:01
SpamBayes Score -1.0
Marked as misclassified
Message-id <1640717461.17.0.0717238669842.issue21987@roundup.psfhosted.org>
In-reply-to
内容
Well, the tar command strips trailing slashes (even from file paths), so it is reasonable to do this in getmember().

$ mkdir dir
$ touch dir/file
$ tar cf archive.tar dir
$ tar tf archive.tar dir
dir/
dir/file
$ tar tf archive.tar dir/
dir/
dir/file
$ tar tf archive.tar dir/file
dir/file
$ tar tf archive.tar dir/file/
dir/file
$ tar tf archive.tar dir/file////
dir/file
历史
日期 用户 动作 参数
2021-12-28 18:51:01serhiy.storchaka修改recipients: + serhiy.storchaka, lars.gustaebel, vstinner, r.david.murray, puppet, moloney, zigg, af, andrei.avk
2021-12-28 18:51:01serhiy.storchaka修改messageid: <1640717461.17.0.0717238669842.issue21987@roundup.psfhosted.org>
2021-12-28 18:51:01serhiy.storchaka链接issue21987 messages
2021-12-28 18:51:01serhiy.storchaka创建