diff options
author | Fabian Vogt <fvogt@suse.de> | 2022-03-09 13:37:49 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2022-03-09 20:06:59 +0000 |
commit | 87e1aa8774dad3e6b504c641938e84490116088f (patch) | |
tree | 95f9f7b6c5aad0cbf469cd812d841079032fbd7b /po/ca.po | |
parent | 349799ba1d026a18012520b9f2e1901a88ac467b (diff) | |
download | appstream-glib-87e1aa8774dad3e6b504c641938e84490116088f.tar.gz |
Fix extracting relative symlinks
ebdefa2745 tried to fix handling of relative symlinks in archives, but that
only addressed targets starting with ".."/. Fix it properly by using
asb_utils_sanitise_path only for absolute paths, keep relative paths as-is.
Simplify code for handling absolute symlinks by just prepending the root
instead of converting it to a relative link.
Hardlink targets are returned as paths relative to the archive root, so the
sanitization code is correct there.
Diffstat (limited to 'po/ca.po')
0 files changed, 0 insertions, 0 deletions