libarchive / libarchive

Multi-format archive and compression library

Home Page:http://www.libarchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UUDecode filter does not support encoded filenames

todd-richmond opened this issue · comments

The uuencode extension spec allows encoded filenames to start with a -[base64|encoded]. This is in addition to the problem with > 3 character file modes

https://manpages.ubuntu.com/manpages/focal/en/man5/uuencode.5.html

Support for encoded filenames seems to be a GNU extension. Is it supported by any other uuencode implementations?

it is a GNU extension but since most uuencoded files are created on linux, that is probably likely in non-latin1 usage. I noticed this when working on the 4 char mode bug that also comes from a UNIX environment