Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ship-v0.6.8"
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?
#183 — Unicode NFC path normalization
CleanPath(the single path chokepoint every entry point routes through) now normalizes the cleaned virtual path to NFC viagolang.org/x/text/unicode/norm(already an indirect dep;go mod tidypromotes it to direct). So a client requesting an NFC name and a filename stored as NFD — the decomposed form macOS/WebDAV clients send — resolve to the same key; umlauts and accents no longer 404. NFC and NFD are canonically equivalent, so this collapses both forms to one stable key.Caveat (in the CHANGELOG): files already stored as NFD before this release still need a one-time re-normalization; new writes and all lookups are NFC from here.
Test:
path_test.gogains NFD→NFC cases (café,über) assertingCleanPath(NFD) == NFC.#192 — Share-created toast no longer leaks the backend path
The Share dialog's confirmation used
shareItem.path(/home/...); it now uses the item name, matching the per-row copy-link toast and the virtual-namespace model. (Split from #175 item 3, verified live via the browser.)Validation
Branch commit produced by a one-shot workflow:
go mod tidy,gofmt,go vet ./...,go test ./...(all green — includes the new NFC cases), dual-arch build. This PR re-runs CI.Closes #183. Closes #192.