| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
Documentation build overview1 file changed ± library/tarfile.html |
Sorry, something went wrong.
|
I think this is much too wordy; see #159019. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Document the behavior of the tar extraction filter when handling
symbolic-link targets.
tar_filter protects against archive member paths escaping the extraction
destination, but it does not check TarInfo.linkname. As a result, symbolic
links with absolute targets or relative targets outside the destination are
not rejected by this filter.
This change clarifies that behavior in the tar filter documentation and
the tar_filter section.
The stricter data_filter behavior is also documented, including the
exceptions raised for unsafe link targets.
No extraction behavior has been changed.
Testing
required dependency installation and the check was not completed.