Subj : Re: Unpack Cmd %2 and paths (follow-up) To : g00r00 From : Bj”rn Wiberg Date : Fri Aug 06 2021 02:35 pm Hello again, g00r00! On 06 Aug 2021, Bj”rn Wiberg said the following... BW> The only "bad" thing I noticed is that the automatic "basenaming" BW> (stripping path info from the entered filename) of "%2" for the Unpack BW> Cmd can make it hard to perform archive member (file) selection for BW> certain archivers. BW> BW> For instance, tar requires the "correct" (full) path of a file within an BW> archive to be entered when selecting files for extraction. Apart from tar, this also applies to zip, lha and 7z (including LHA/LZH via 7-ZIP for Windows). (But not to arj e -e, zoo x:, or arc e which doesn't have any notion of subdirectories whatsoever). So it would be great if the %2 sanitization of Unpack Cmd would disallow things like ../ or ..\ but allow subdir/ and ./subdir and ./subdir/. and ././ and similar. Otherwise extraction of files from subdirectories becomes impossible. Best regards Bj”rn --- Mystic BBS v1.12 A47 2021/08/05 (Linux/64) * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137) .