豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Add codeberg.org to the allowed domains for README images and badges #10748

@erikjanwestendorp

Description

@erikjanwestendorp

NuGet Product(s) Involved

Other/NA

The Elevator Pitch

NuGet currently blocks images hosted on codeberg.org in package READMEs because the domain is not included in the allowed list. Codeberg is a well-established, community-driven Git hosting platform, and allowing it would improve flexibility for package authors who host their assets outside of GitHub. I propose adding codeberg.org to the trusted domains list for README images and badges.

Additional Context and Details

I encountered this issue when publishing a NuGet package that includes images hosted on Codeberg in the README. These images are not displayed on nuget.org and instead show the warning:

"Some images are not displayed as they are not from trusted domains."

Allowing codeberg.org would:

Support a broader range of open-source hosting platforms
Reduce reliance on a small set of centralized providers
Improve the experience for maintainers who prefer decentralized or EU-hosted infrastructure

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions