summaryrefslogtreecommitdiffstats
path: root/Misc/ACKS
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-21 05:29:44 (GMT)
committerGitHub <noreply@github.com>2020-10-21 05:29:44 (GMT)
commite866f33a48ee24e447fafd181f0da5f9584e0340 (patch)
treefd854846ce3fce16bae8b11c96a86d4da422e0ac /Misc/ACKS
parent6443a8ccc886749f5e83a8ca073006742b605d90 (diff)
downloadcpython-e866f33a48ee24e447fafd181f0da5f9584e0340.zip
cpython-e866f33a48ee24e447fafd181f0da5f9584e0340.tar.gz
cpython-e866f33a48ee24e447fafd181f0da5f9584e0340.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 (cherry picked from commit 22748a83d927d3da1beaed771be30887c42b2500) Co-authored-by: Artem Bulgakov <ArtemSBulgakov@ya.ru>
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 35cabc7..b024640 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -237,6 +237,7 @@ Colm Buckley
Erik de Bueger
Jan-Hein Bührman
Lars Buitinck
+Artem Bulgakov
Dick Bulterman
Bill Bumgarner
Jimmy Burgett