• Matt Farina's avatar
    Fixing issue where archives created on windows have broken paths · 28b085be
    Matt Farina authored
    
    
    When archives are created on windows the path spearator in the
    archive file is \\. This causes issues when the file is unpacked.
    For example, on Linux the files are unpacked in a flat structure
    and \ is part of the file name. This causes comp issues. In Helm
    v2 the path was set as / when the archive was written. This works
    on both Windows and POSIX systems.
    
    The fix being implemented is to use the ToSlash function to ensure
    / is used as the separator.
    
    Fixes #7748
    Signed-off-by: default avatarMatt Farina <matt@mattfarina.com>
    28b085be