Skip to content

Commit c04488a

Browse files
committed
add whatsnew entry
1 parent eda70ae commit c04488a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ tarfile
463463
:func:`~tarfile.TarFile.errorlevel` is zero.
464464
(Contributed by Matt Prodani and Petr Viktorin in :gh:`112887`
465465
and :cve:`2025-4435`.)
466+
* :func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall`
467+
now replace slashes by backslashes in symlink targets on Windows to prevent
468+
creation of corrupted links.
469+
(Contributed by Christoph Walcher in :gh:`57911`.)
466470

467471

468472
types
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
When extracting tar files on Windows Posix flavoured path separators in symlink
2-
targets will be replaced by backward-slashes to prevent corrupted links.
1+
When extracting tar files on Windows, slashes in symlink targets will be
2+
replaced by backslashes to prevent corrupted links.

0 commit comments

Comments
 (0)