get_public_suffix("ns1.linode.com") returns "ns1.linode.com"

Open
#21 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by reproducing get_public_suffix("ns1.linode.com") and inspect the bundled public suffix data used by the library. Compare the Linode entries with the public suffix list and verify that the completed change returns "linode.com" for this input without altering the listed related domains.

Written by the indexing model from the issue text.

Description

This seems to be a bug, because "linode.com" is not on the public suffix list. Several subdomains and related domains are, but not linode.com:

// Linode : https://linode.com
// Submitted by [email protected]
members.linode.com
*.nodebalancer.linode.com
*.linodeobjects.com
ip.linodeusercontent.com

I would expect get_public_suffix("ns1.linode.com") to return "linode.com"

Dominant language
Python
Stars
31
Forks
16
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aboutcode-org/python-publicsuffix2

All issues in aboutcode-org/python-publicsuffix2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.