https://github.com/python/cpython/commit/8b430d6f740541f1b9045a89dde43abee2c54bc5 commit: 8b430d6f740541f1b9045a89dde43abee2c54bc5 branch: main author: Zain Nadeem <[email protected]> committer: ethanfurman <[email protected]> date: 2026-07-02T10:57:15-07:00 summary:
gh-152691: tarfile -- add Windows reserved name section (GH-152701) files: M Doc/library/tarfile.rst diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 29a329fdfeab15..fc352e901f31dc 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -1195,6 +1195,8 @@ Here is an incomplete list of things to consider: * Check filenames against an allow-list of characters (to filter out control characters, confusables, foreign path separators, and so on). +* Check for platform-specific filename semantics. For example, on Windows + some names can have reserved meanings. * Check that filenames have expected extensions (discouraging files that execute when you “click on them”, or extension-less files like Windows special device names). _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
