File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff 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
468472types
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments