You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tar.py: Fix hardlink extraction with latest Python
Recent Python security fixes (included in 3.13.4 but also backported to
older branches) require link targets to pass the specified filter
function as well. This can result in hardlinked files to not be
extracted when a `base-dir` is set.
This commit separates the filtering from the extraction to avoid this
issue. Pass `filter="tar"` as Python 3.14+ will default to the too
restrictive `filter="data"`.
python/cpython#135037Fixes#2029.
0 commit comments