getsentry / getsentry/sentry-python

Derive security header report url from DSN

未关闭
#5,431 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Feature Python
主要语言
Python
星标
2.2k
派生
669
平均合并
1 天 40 分钟
30 天内合并 PR
212

描述

I know that this could be done somewhat trivially by parsing the DSN URL in my own code (assuming the format is stable).
However, it'd be convenient to have this as part of the SDK, so one could do just get it via something like `sentry_sdk.csp_report_url`.

贡献指南

打开贡献指南

调研方向

Start by reading how the SDK represents and parses the DSN, then examine the proposed `sentry_sdk.csp_report_url` access pattern. Define the expected derived URL and add coverage showing that it is available from a DSN; the issue does not name a source file or test location.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
security
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。