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

internal/parser: add PublicSuffix and RegisteredDomain methods to List #2228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 18, 2024

  1. internal/parser: add PublicSuffix and RegisteredDomain methods to List

    These calculate the public suffix or registered/registerable domain of some
    input domain, according to the strict PSL algorithm. Aside from being useful
    as a reference implementation of the algorithm, it comes in handy in validations
    that need to do stuff like figure out what registry to query for domain info.
    danderson committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2e4ab14 View commit details
    Browse the repository at this point in the history