Message378154
As I see things now, there are multiple things (not necessarily related to this issue) to deal with:
1. Update *tarfile* and add *\_sanitize\_windows\_name* (name can change), that uses *pathlib.\_WindowsFlavour.reserved\_names* (or some public wrapper), and also handles control chars (pointed out by @eriksun), so that it covers as many cases as possible (I'd say all, but there's almost always one that gets away)
2. Fix *pathlib.\_WindowsFlavour.reserved\_names*
3. Apply the fix to *zipfile* as well
4. (optional) extract the sanitizing function into a common module (could be *pathlib*?) to avoid duplicates |
|
Date |
User |
Action |
Args |
2020-10-07 09:33:38 | CristiFati | set | recipients:
+ CristiFati, paul.moore, lars.gustaebel, vstinner, tim.golden, zach.ware, eryksun, steve.dower |
2020-10-07 09:33:38 | CristiFati | set | messageid: <1602063218.21.0.381690972777.issue36534@roundup.psfhosted.org> |
2020-10-07 09:33:38 | CristiFati | link | issue36534 messages |
2020-10-07 09:33:37 | CristiFati | create | |
|