Skip to content
Snippets Groups Projects

maybe laxer match on authority - fixes #815

Merged dakkar requested to merge feature/815-laxer-host-match into develop

What does this PR do?

In all the places I could easily find, that compare hostnames, I made them compare authority/domain as indicated by the Public Suffix List.

Essentially: since (for example) thenautilus.net is one level below a public suffix (net), everything under thenautilus.net is under the control of the same "entity" (me, in this case), and all such hosts can be considered "equivalent" as an origin.

Not really tested, I just spun up a local test instance and fetched @bsky.brid.gy@bsky.brid.gy which has some collections on differnt hostnames, and it got accepted.

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports

Loading
Loading

Activity

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