diff options
-rw-r--r-- | Lib/tarfile.py | 6 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 427f132..5c9d3a8 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -2340,12 +2340,6 @@ class TarFile(object): self._extract_member(self._find_link_target(tarinfo), targetpath) except symlink_exception: - if tarinfo.issym(): - linkpath = os.path.join(os.path.dirname(tarinfo.name), - tarinfo.linkname) - else: - linkpath = tarinfo.linkname - else: try: self._extract_member(self._find_link_target(tarinfo), targetpath) @@ -422,6 +422,8 @@ Core and Builtins Library ------- +- Issue #12926: Fix a bug in tarfile's link extraction. + - Issue #13696: Fix the 302 Relative URL Redirection problem. - Issue #13636: Weak ciphers are now disabled by default in the ssl module |