mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Reject a single-character group id (except the default `_`) so a possessive glued to a bare relay URL — `wss://relay.damus.io's uptime` — no longer linkifies group "s". Real ids (relay29/Wisp/0xchat) are all longer. Adds coverage proving only genuine ws/wss relay URLs are peeked: apostrophes after http, nostr:, blossom:, email and bech32 tokens never become group links; plus ws:// (insecure), second-apostrophe boundary, and multi-link cases. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B5MLY4hq5LXJ2D5WeLRyXj