[issue41316] tarfile: Do not write full path in FNAME field
Artem Bulgakov
report at bugs.python.org
Fri Jul 17 03:23:42 EDT 2020
Artem Bulgakov <ArtemSBulgakov at ya.ru> added the comment:
Hi. My PR doesn't remove the possibility to add tree into tar file. It only fixes header for GZIP compression. Any data after this header is not affected.
You can test it by creating two archives with the same data but one with my patch and the second without. All bytes after header are equal.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41316>
_______________________________________
More information about the Python-bugs-list
mailing list