Message256128
Yes I think you are right. With Python 3.5.0:
$ python3 -c 'import tarfile; print(tarfile.open("bad.tar").getnames())'
['foo', 'foo/a']
$ python3 -m tarfile --list bad.tar
foo/
foo/a
The proposed fix here is slightly different: truncate from the first space, rather than trailing whitespace. |
|
Date |
User |
Action |
Args |
2015-12-08 21:40:47 | martin.panter | set | recipients:
+ martin.panter, tlynn, lars.gustaebel, efloehr, whitemice |
2015-12-08 21:40:47 | martin.panter | set | messageid: <1449610847.0.0.927411503915.issue15858@psf.upfronthosting.co.za> |
2015-12-08 21:40:46 | martin.panter | link | issue15858 messages |
2015-12-08 21:40:46 | martin.panter | create | |
|