summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2023-08-21 10:56:46 (GMT)
committerGitHub <noreply@github.com>2023-08-21 10:56:46 (GMT)
commitacbd3f9c5c5f23e95267714e41236140d84fe962 (patch)
tree0372b9168b6554b0591152c3a2583638a8e84cda /Misc/NEWS.d
parent622ddc41674c2566062af82f7b079aa01d2aae8c (diff)
downloadcpython-acbd3f9c5c5f23e95267714e41236140d84fe962.zip
cpython-acbd3f9c5c5f23e95267714e41236140d84fe962.tar.gz
cpython-acbd3f9c5c5f23e95267714e41236140d84fe962.tar.bz2
gh-107845: Fix symlink handling for tarfile.data_filter (GH-107846)
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Lumír 'Frenzy' Balhar <frenzy.madness@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2023-08-10-17-36-22.gh-issue-107845.dABiMJ.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-08-10-17-36-22.gh-issue-107845.dABiMJ.rst b/Misc/NEWS.d/next/Library/2023-08-10-17-36-22.gh-issue-107845.dABiMJ.rst
new file mode 100644
index 0000000..32c1fb9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-08-10-17-36-22.gh-issue-107845.dABiMJ.rst
@@ -0,0 +1,3 @@
+:func:`tarfile.data_filter` now takes the location of symlinks into account
+when determining their target, so it will no longer reject some valid
+tarballs with ``LinkOutsideDestinationError``.