GH-92184: Convert os.altsep to '/' in filenames when creating ZipInfo objects (#92185)
This causes the zipfile module to also consider the character defined by `os.altsep` (if there is one) to be a path separator and convert it to a forward slash, as defined by the zip specification. A logical no-op on all known platforms today as os.altsep is currently only set to a meaningful value on Windows (where it is "/").
C
Carey Metcalfe committed
4abfe6a14b5be5decbaa3142d9e2549cf2d86c34
Parent: fcd5fb4
Committed by GitHub <noreply@github.com>
on 5/11/2023, 7:25:16 AM