summaryrefslogtreecommitdiff
path: root/data/tests/app-1-1.fc25.x86_64.rpm
diff options
context:
space:
mode:
authorFabian Vogt <fvogt@suse.de>2022-03-09 13:37:49 +0100
committerRichard Hughes <richard@hughsie.com>2022-03-09 20:06:59 +0000
commit87e1aa8774dad3e6b504c641938e84490116088f (patch)
tree95f9f7b6c5aad0cbf469cd812d841079032fbd7b /data/tests/app-1-1.fc25.x86_64.rpm
parent349799ba1d026a18012520b9f2e1901a88ac467b (diff)
downloadappstream-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 'data/tests/app-1-1.fc25.x86_64.rpm')
-rw-r--r--data/tests/app-1-1.fc25.x86_64.rpmbin14306 -> 16758 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/data/tests/app-1-1.fc25.x86_64.rpm b/data/tests/app-1-1.fc25.x86_64.rpm
index ac601ce..b2d770c 100644
--- a/data/tests/app-1-1.fc25.x86_64.rpm
+++ b/data/tests/app-1-1.fc25.x86_64.rpm
Binary files differ