Skip to content

Conversation

@FadedAtlas
Copy link
Contributor

@FadedAtlas FadedAtlas commented Dec 26, 2025

Description

Fixes: #3874
Used filepath.ToSlash() to convert all backslashes to slashes in file paths.
Successfully compiled and tested by downloading a file from a Windows machine to a Linux machine using zip as the archive method.
Zip file structure is now correct.

Additional Information

To add more context:

  • This is my first PR ever, I almost have no idea what I'm doing.
  • If I've done something incorrectly, I'm happy to have this reviewed and fixed properly.
  • I've been affected by this bug for almost 2 years, so I decided to contribute and help move things forward.

Checklist

Before submitting your PR, please indicate which issues are either fixed or closed by this PR. See GitHub Help: Closing issues using keywords.

  • I am aware the project is currently in maintenance-only mode. See README
  • I am aware that translations MUST be made through Transifex and that this PR is NOT a translation update
  • I am making a PR against the master branch.
  • I am sure File Browser can be successfully built. See builds and development.

@FadedAtlas FadedAtlas requested a review from a team as a code owner December 26, 2025 18:11
@hacdias hacdias merged commit 9595f39 into filebrowser:master Dec 28, 2025
3 checks passed
@ramiresviana
Copy link
Contributor

Thanks @FadedAtlas for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Path Separators in ZIP Archives Generated on Windows

3 participants