Repository navigation
Description
Please confirm the following.
- I checked the existing issues for duplicate problems
- I have tried resolving the issue using the support portal
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
-
Open the badge directly:
https://luken.cc/badges/modrinth/aznwOQTM -
Confirm that the badge renders correctly.
-
Embed the badge in a Modrinth project description using Markdown:
[](https://modrinth.com/plugin/jrw) -
Save the project description and view the published page.
-
Observe that the badge is not displayed.
-
Test the same badge through wsrv.nl:
https://wsrv.nl/?url=https%3A%2F%2Fluken.cc%2Fbadges%2Fmodrinth%2FaznwOQTM
-
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