Strict=True Returns "amazonaws.com" as an eTLD
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- networking
调研方向
首先运行 issue 中的复现脚本,并确认 PublicSuffixList.get_public_suffix 在 strict=True 时返回什么。阅读 PublicSuffixList 的实现及其严格匹配行为,然后为 snack.amazonaws.com 添加或更新测试。当 strict=True 的结果为 amazonaws.com,且不破坏现有的公共后缀行为时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
The following code:
from publicsuffix2 import PublicSuffixList
psl = PublicSuffixList(idna=True)
print(psl.get_public_suffix('snack.amazonaws.com',strict=True))
returns snack.amazonaws.com when it should return amazonaws.com.
- 主要语言
- Python
- 星标
- 30
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aboutcode-org/python-publicsuffix2 的其他 Issue
-
codes.open is deprecated in python3.14可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 52/100
-
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 30/100
aboutcode-org/python-publicsuffix2#23 · 1 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
aboutcode-org/python-publicsuffix2#21 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
aboutcode-org/python-publicsuffix2#18 · 6 条评论 ·
查看 aboutcode-org/python-publicsuffix2 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
namespace operations
难度 1/5 1 小时以内 新手友好度 65/100
EclipseFdn/open-vsx.org#15057 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
FinanceFlash/unvibecode#349 ·
-
Mission statement: why this is free, in the README, Why This Exists and the wiki Home可能已有人在做 @ChiefGyk3D 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
ChiefGyk3D/Clouds-Against-Humanity#348 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
vllm-project/vime#508 ·
维护者通常 4 天内回复