Re: Configurable filename rejection for Archive.extract()
By: Nightfox to Rob Swindell on Tue May 17 2022 01:14 pm
Re: Configurable filename rejection for Archive.extract()
By: Rob Swindell to GitLab issue in main/sbbs on Tue May 17 2022 09:33 am
open https://gitlab.synchro.net/main/sbbs/-/issues/405
Currently Archive.extract() will only extract/create files that use the "safest" filename characters. Add an option to specify a different allowed character set for more relaxed security.
I'm wondering if another option for a "blacklist" of disallowed characters would also be useful - So that instead of specifying all the characters you would accept (which may be fairly long), you could specify the characters you won't accept (which may be a much shorter list).
Actually I think the blacklist would be larger. Disallowing extended-ASCII characters alone would constitute a list of 128 characters.
--
digital man (rob)
Rush quote #32:
Begging hands and bleeding hearts will only cry out for more
Norco, CA WX: 69.0�F, 67.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs
--- SBBSecho 3.15-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)