SpikeHD / Dorion

Tiny alternative Discord client with a smaller footprint, snappier startup, themes, plugins and more!
https://spikehd.github.io/projects/dorion/
GNU General Public License v3.0
504 stars 21 forks source link

[Bug] Vencord badge images don't load #229

Closed Desapressad0x closed 2 months ago

Desapressad0x commented 2 months ago

Describe the bug Vencord custom badges don't loading.

To Reproduce Steps to reproduce the behavior: Opening the profile of a person who owns a custom vencord badge.

Expected behavior The custom badge being shown.

Screenshots image

System Info (please complete the following information):

Additional context Badge link: https://badges.vencord.dev/badges/687022032726392839/1-58651ad30489b5f1c03a9e2eec4a835ddb3a0fed.png Console error: Refused to load the image 'https://badges.vencord.dev/badges/687022032726392839/1-58651ad30489b5f1c03a9e2eec4a835ddb3a0fed.png' because it violates the following Content Security Policy directive: "img-src 'self' blob: data: https://*.discordapp.net https://*.discordapp.com https://*.discord.com https://i.scdn.co https://i.ytimg.com https://i.imgur.com https://media.tenor.co https://media.tenor.com https://c.tenor.com https://*.youtube.com https://*.giphy.com https://static-cdn.jtvnw.net https://pbs.twimg.com https://assets.braintreegateway.com https://checkout.paypal.com https://c.paypal.com https://b.stats.paypal.com https://slc.stats.paypal.com https://hnd.stats.paypal.com https://api.cash.app".

SpikeHD commented 2 months ago

This is unfixable*, as the web engine Dorion uses cannot overwrite CSP headers