Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ykeremy/bitwarden use search instead of url filter #462

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Jun 12, 2024

Why do we introduce a new library: tldextract?

tldextract accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL).

Say you want just the "google" part of https://www.google.com/. Everybody gets this wrong. Splitting on the "." and taking the 2nd-to-last element only works for simple domains, e.g. .com. Consider http://forums.bbc.co.uk/: the naive splitting method will give you "co" as the domain, instead of "bbc". Rather than juggle TLDs, gTLDs, or ccTLDs yourself, tldextract extracts the currently living public suffixes according to the Public Suffix List.

A "public suffix" is one under which Internet users can directly register names.

A public suffix is also sometimes called an effective TLD (eTLD).

⚠️

Beware when first calling tldextract, it updates its TLD list with a live HTTP request.

Why do we introduce a new library: [`tldextract`](https://github.com/john-kurkowski/tldextract)?

> tldextract accurately separates a URL's subdomain, domain, and public suffix, using [the Public Suffix List (PSL)](https://publicsuffix.org/).
>
> Say you want just the "google" part of https://www.google.com/. Everybody gets this wrong. Splitting on the "." and taking the 2nd-to-last element only works for simple domains, e.g. .com. Consider http://forums.bbc.co.uk/: the naive splitting method will give you "co" as the domain, instead of "bbc". Rather than juggle TLDs, gTLDs, or ccTLDs yourself, tldextract extracts the currently living public suffixes according to [the Public Suffix List](https://publicsuffix.org/).
>
> A "public suffix" is one under which Internet users can directly register names.
>
> A public suffix is also sometimes called an effective TLD (eTLD).

⚠️
> Beware when first calling tldextract, it updates its TLD list with a live HTTP request.
Why do we introduce a new library: [`tldextract`](https://github.com/john-kurkowski/tldextract)?

> tldextract accurately separates a URL's subdomain, domain, and public suffix, using [the Public Suffix List (PSL)](https://publicsuffix.org/).
>
> Say you want just the "google" part of https://www.google.com/. Everybody gets this wrong. Splitting on the "." and taking the 2nd-to-last element only works for simple domains, e.g. .com. Consider http://forums.bbc.co.uk/: the naive splitting method will give you "co" as the domain, instead of "bbc". Rather than juggle TLDs, gTLDs, or ccTLDs yourself, tldextract extracts the currently living public suffixes according to [the Public Suffix List](https://publicsuffix.org/).
>
> A "public suffix" is one under which Internet users can directly register names.
>
> A public suffix is also sometimes called an effective TLD (eTLD).

⚠️
> Beware when first calling tldextract, it updates its TLD list with a live HTTP request.
Why do we introduce a new library: [`tldextract`](https://github.com/john-kurkowski/tldextract)?

> tldextract accurately separates a URL's subdomain, domain, and public suffix, using [the Public Suffix List (PSL)](https://publicsuffix.org/).
>
> Say you want just the "google" part of https://www.google.com/. Everybody gets this wrong. Splitting on the "." and taking the 2nd-to-last element only works for simple domains, e.g. .com. Consider http://forums.bbc.co.uk/: the naive splitting method will give you "co" as the domain, instead of "bbc". Rather than juggle TLDs, gTLDs, or ccTLDs yourself, tldextract extracts the currently living public suffixes according to [the Public Suffix List](https://publicsuffix.org/).
>
> A "public suffix" is one under which Internet users can directly register names.
>
> A public suffix is also sometimes called an effective TLD (eTLD).

⚠️
> Beware when first calling tldextract, it updates its TLD list with a live HTTP request.
@ykeremy ykeremy added the sync label Jun 12, 2024
@ykeremy ykeremy merged commit 5f48de2 into main Jun 12, 2024
2 checks passed
@ykeremy ykeremy deleted the ykeremy/bitwarden-use-search-instead-of-url-filter branch June 12, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant