Skip to content
Snippets Groups Projects

Updated handle regex to support the formatting used by bridgyfeds bluesky <=> mastodon bridge

Merged Andrew requested to merge ghobs91/mostr:develop into develop

https://github.com/snarfed/bridgy-fed/issues/381#issuecomment-1735683326

Big milestone, shipped Bluesky => fediverse user discovery! Search for @[handle]@atproto.brid.gy (eg @jay.bsky.team@atproto.brid.gy) in any fediverse server.

I noticed that with the current regex check, using a handle like the one in the above example would result in an Invalid name. error, even though it is a valid Mastodon profile. I made an adjustment to allow periods in the username component of the handle address.

Merge request reports

Pipeline #1020700654 passed

Pipeline passed for df520aab on ghobs91:develop

Merged by Alex GleasonAlex Gleason 1 year ago (Sep 29, 2023 1:39pm UTC)

Loading

Pipeline #1020947796 passed

Pipeline passed for 4afe7d43 on develop

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading