mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #577] [MERGED] fix: incorrect separator for zip archive folders under windows #645
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/577
Author: @TinyTinni
Created: 4/24/2025
Status: ✅ Merged
Merged: 4/25/2025
Merged by: @sigoden
Base:
main← Head:windows-zip-directories📝 Commits (1)
0a6c0aefix: incorrect seperator for zip archives under windows📊 Changes
1 file changed (+7 additions, -2 deletions)
View changed files
📝
src/server.rs(+7 -2)📄 Description
Closes #576
When a zip container is requested, make sure that "\" is converted to "/" under windows.
It will have to effect for linux/mac.
Doc to MAIN_SEPARATOR https://doc.rust-lang.org/std/path/constant.MAIN_SEPARATOR.html
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.