beads/internal/remotecache
Andreas Lingenhag 1e76efcfb6
fix: don't normalize user-provided sync.remote URLs (GH#3339) (#3432)
normalizeRemoteURL() converts http:// to git+http://, which breaks Dolt
remotesapi endpoints. Stop normalizing URLs from sync.remote (user
explicitly chose the format) while keeping normalization for auto-detected
git origin URLs. Also add git+http to allowedSchemes in remotecache so
ValidateRemoteURL accepts it.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-24 09:33:02 -07:00
..
cache.go security: harden remote URL validation at config parse time (#3210) 2026-04-13 09:58:50 -07:00
cache_test.go ci: install dolt binary on Linux and macOS test runners (#3440) 2026-04-24 06:58:40 -07:00
url.go fix: don't normalize user-provided sync.remote URLs (GH#3339) (#3432) 2026-04-24 09:33:02 -07:00
url_test.go fix: don't normalize user-provided sync.remote URLs (GH#3339) (#3432) 2026-04-24 09:33:02 -07:00