upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/reference/configuration.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-10 02:40:16 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-10 02:42:38 +0000
commit6dbe167a1c8f9a59538e76f6322424eee93994df (patch)
treee0491f8be02da3f48c3c03482b942e773d2365a4 /docs/reference/configuration.md
parent1b6b669b9b82d1f81b887a32055f19c53d3bb8bf (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 'docs/reference/configuration.md')
0 files changed, 0 insertions, 0 deletions