Skip to content

External dynamic badges from luken.cc fail to render in project descriptions (wsrv.nl HTTP 400) #8361

Open

Description

@kole07139

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi), Microsoft Edge, Firefox, Safari

Describe the bug

Dynamic badge images hosted on luken.cc are not displayed in Modrinth project descriptions, even though the images load correctly when opened directly in a browser.

I encountered this issue while trying to embed a dynamic Modrinth downloads badge in my project's description.

Affected project:
https://modrinth.com/plugin/jrw

Badge URL:
https://luken.cc/badges/modrinth/aznwOQTM

The badge displays correctly when accessed directly.

However, when testing the same URL through the image proxy used by Modrinth (wsrv.nl), the request returns HTTP 400:

{
  "status": "error",
  "code": 400,
  "message": "Domain or TLD blocked by policy"
}

This suggests that luken.cc is blocked by the upstream image proxy's domain policy, preventing the badge from being displayed in Modrinth descriptions.

Steps to reproduce

  1. Open the badge directly:
    https://luken.cc/badges/modrinth/aznwOQTM

  2. Confirm that the badge renders correctly.

  3. Embed the badge in a Modrinth project description using Markdown:

    [![Downloads](https://luken.cc/badges/modrinth/aznwOQTM)](https://modrinth.com/plugin/jrw)

  4. Save the project description and view the published page.

  5. Observe that the badge is not displayed.

  6. Test the same badge through wsrv.nl:

    https://wsrv.nl/?url=https%3A%2F%2Fluken.cc%2Fbadges%2Fmodrinth%2FaznwOQTM

  7. Observe the HTTP 400 error: Domain or TLD blocked by policy.

Expected behavior

Valid external dynamic badge images should render correctly in Modrinth project descriptions when the image source is accessible and considered safe.

Ideally, trusted badge providers such as luken.cc should be supported, allowing project authors to display automatically updated statistics without manually uploading static images.

The image works when accessed directly, but the upstream image proxy rejects the domain, and the badge does not appear in the project description.

Would it be possible to investigate whether luken.cc could be added to Modrinth's trusted image-domain bypass list?

Additional context

The issue appears related to the image-loading policy rather than the badge's Markdown syntax.

Thank you for looking into this! I appreciate yall work!

Activity

  1. added
    website
    on Nov 18, 2026
  2. added theissue type on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    website

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions