- Cleanup webdav

- Include a re-insert fature for botched torrents
- Other minor bug fixes
This commit is contained in:
Mukhtar Akere
2025-03-31 06:11:04 +01:00
parent cf28f42db4
commit face86e151
18 changed files with 191 additions and 137 deletions

View File

@@ -14,7 +14,7 @@ func getName(rootDir, path string) (string, string) {
if len(parts) < 2 {
return "", ""
}
return parts[0], strings.Join(parts[1:], "/")
return parts[1], strings.Join(parts[2:], "/") // Note the change from [0] to [1]
}
func acceptsGzip(r *http.Request) bool {