summaryrefslogtreecommitdiffstats
path: root/Misc/ACKS
diff options
context:
space:
mode:
authorArtem Bulgakov <ArtemSBulgakov@ya.ru>2020-09-07 16:46:33 (GMT)
committerGitHub <noreply@github.com>2020-09-07 16:46:33 (GMT)
commit22748a83d927d3da1beaed771be30887c42b2500 (patch)
tree7bd2922fc537fd2af5c629a089e091eaa993325d /Misc/ACKS
parentfd4cafd4700dc03cb05fc2e5263c2666d785d6e3 (diff)
downloadcpython-22748a83d927d3da1beaed771be30887c42b2500.zip
cpython-22748a83d927d3da1beaed771be30887c42b2500.tar.gz
cpython-22748a83d927d3da1beaed771be30887c42b2500.tar.bz2
bpo-41316: Make tarfile follow specs for FNAME (GH-21511)
tarfile writes full path to FNAME field of GZIP format instead of just basename if user specified absolute path. Some archive viewers may process file incorrectly. Also it creates security issue because anyone can know structure of directories on system and know username or other personal information. RFC1952 says about FNAME: This is the original name of the file being compressed, with any directory components removed. So tarfile must remove directory names from FNAME and write only basename of file. Automerge-Triggered-By: @jaraco
Diffstat (limited to 'Misc/ACKS')
-rw-r--r--Misc/ACKS1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index a2cdeb8..8b0d7a4 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -242,6 +242,7 @@ Colm Buckley
Erik de Bueger
Jan-Hein Bührman
Lars Buitinck
+Artem Bulgakov
Dick Bulterman
Bill Bumgarner
Jimmy Burgett