diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-10 02:40:16 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-10 02:42:38 +0000 |
| commit | 6dbe167a1c8f9a59538e76f6322424eee93994df (patch) | |
| tree | e0491f8be02da3f48c3c03482b942e773d2365a4 /src/git/subprocess.rs | |
| parent | 1b6b669b9b82d1f81b887a32055f19c53d3bb8bf (diff) | |
fix: normalize URLs with trailing slashes in announcement validation
Announcements were being rejected when clone URLs or relay URLs had
trailing slashes that didn't match. Added URL normalization to strip
trailing slashes before comparison, allowing announcements to be
accepted regardless of trailing slash presence.
- Add normalize_url_for_comparison() helper
- Update has_clone_url() and has_relay() to normalize before matching
- Add comprehensive tests for trailing slash scenarios
Fixes issue in work/active-issues/clone-relays-mismatch-validation.md
Diffstat (limited to 'src/git/subprocess.rs')
0 files changed, 0 insertions, 0 deletions