•  
      request #41827 Remove / from filenames when building a Zip archive
    Infos
    #41827
    Thomas Gerbet (tgerbet)
    2025-02-12 11:37
    2025-02-12 10:13
    43503
    Details
    Remove / from filenames when building a Zip archive

    Some of our files can have / in their name (notably embedded files) which is causing weirdness when building a folder Zip archive. Per the specification it is not expected for files to have a / since it is the path separator:

    4.4.17.1 The name of the file, with optional relative path. The path stored MUST NOT contain a drive or device letter, or a leading slash. All slashes MUST be forward slashes '/' as opposed to backwards slashes '' for compatibility with Amiga and UNIX file systems etc. If input came from standard input, there is no file name field.

    Doc/Documentation manager
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2025-02-12
    Attachments
    Empty
    References

    Follow-ups