mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
adds validation to ensure pin names don't exceed 255 bytes across all
commands that accept pin names. this prevents issues with filesystem
limitations and improves compatibility.
affected commands:
- ipfs pin add --name
- ipfs add --pin-name
- ipfs pin ls --name (filter)
- ipfs pin remote add --name
- ipfs pin remote ls --name (filter)
- ipfs pin remote rm --name (filter)
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| sanitize.go | ||
| utils.go | ||