This commit is contained in:
Max Richter
2025-09-24 21:32:27 +02:00
parent 26c303d9cf
commit 66ab9ca7fc
21 changed files with 450 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ func CleanURLLike(p string) string {
return "/"
}
parts := []string{}
for seg := range strings.SplitSeq(strings.ReplaceAll(p, "/", "/"), "/") {
for seg := range strings.SplitSeq(p, "/") {
switch seg {
case "", ".":
continue