Fix content path processing
This commit is contained in:
parent
31923974a6
commit
dbb088fa82
@ -56,7 +56,7 @@ extension URL {
|
||||
absoluteString.components(separatedBy: "/").forEach { part in
|
||||
if part == ".." {
|
||||
if !components.isEmpty {
|
||||
_ = components.dropLast()
|
||||
_ = components.popLast()
|
||||
} else {
|
||||
components.append("..")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user