Skip to content

Commit

Permalink
syntax: disallow .example and .alt TLDs (bluesky-social#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold authored Oct 6, 2023
1 parent 61592cf commit 3359c3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/syntax/src/handle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export const DISALLOWED_TLDS = [
'.invalid',
'.localhost',
'.internal',
'.example',
'.alt',
// policy could concievably change on ".onion" some day
'.onion',
// NOTE: .test is allowed in testing and devopment. In practical terms
Expand Down

0 comments on commit 3359c3d

Please sign in to comment.