Skip to content

Commit 52b2be0

Browse files
committed
Add NEWS and whatsnew entries
1 parent b05605c commit 52b2be0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,9 @@ tarfile
15411541
now replace slashes with backslashes in symlink targets on Windows to prevent
15421542
creation of corrupted links.
15431543
(Contributed by Christoph Walcher in :gh:`57911`.)
1544+
* :func:`~tarfile.TarFile.gettarinfo` now replaces backslashes with slashes in
1545+
symlink targets on Windows to conform to the tar format standard. (Contributed
1546+
by Daniele Nicolodi in :gh:`151669`.)
15441547

15451548

15461549
threading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
On Windows, when populating tar archives from filesystem content, to
2+
conform to the tar format standard, backslashes in symlink targets are
3+
be replaced by slashes.

0 commit comments

Comments
 (0)