]> git.ipfire.org Git - thirdparty/libarchive.git/commit
[7zip] Read/write symlink paths as UTF-8 (#2252)
authorDuncan Horn <40036384+dunhor@users.noreply.github.com>
Fri, 11 Oct 2024 06:30:25 +0000 (23:30 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2024 06:30:25 +0000 (08:30 +0200)
commit2121da4bbbdb976af69f6d913e4a2cd19267ff06
treed30e4f5d8dcbf578debfecba9a866e93ede2a927
parent6177e4d0c0886010538bf91eea9bff2d0677baa7
[7zip] Read/write symlink paths as UTF-8 (#2252)

I previously tried to find documentation on how symlinks are expected to
be stored in 7zip files, however the best reference I could find was
[here](https://py7zr.readthedocs.io/en/latest/archive_format.html). That
site suggests that symlink paths are stored as UTF-8 encoded strings:
Makefile.am
libarchive/archive_read_support_format_7zip.c
libarchive/archive_write_set_format_7zip.c
libarchive/test/CMakeLists.txt
libarchive/test/test_7zip_filename_encoding.c [new file with mode: 0644]