WIP
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module git.max-richter.dev/max/marka/server
|
||||
|
||||
go 1.24.5
|
||||
go 1.25.1
|
||||
|
||||
require git.max-richter.dev/max/marka/parser v0.0.0-20250819170608-69c2550f448e
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user