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`.

貢獻指南

開啟貢獻指南

研究方向

先閱讀 SDK 如何表示及解析 DSN,然後檢視提議的 `sentry_sdk.csp_report_url` 存取模式。定義預期的衍生 URL,並加入涵蓋測試以顯示它可從 DSN 取得;該 issue 未指定來源檔案或測試位置。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
security
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。