SevenTV / Extension

The Web Extension for 7TV, bringing new features, emotes, vanity and performance to Twitch, Kick & YouTube
Other
395 stars 100 forks source link

[Bug] Wrong 7TV Subscriber (Founder) badge in CDN #158

Closed TomasTokaMrazek closed 2 years ago

TomasTokaMrazek commented 3 years ago

Describe the bug

Badge icon 7TV Subscriber (Founder) in resolution 128x128 has wrong metadata or is in incorrect format. GET request returns Content-Type as binary/octet-stream instead of image/webp.

To Reproduce

Go to https://api.7tv.app/v2/badges?user_identifier=twitch_id, and click on https://cdn.7tv.app/badge/612f92abe1280b72b856b4d4/3x, it prompts to download that image instead of showing it. This is not the case for other badge icons, or even for the same in smaller resolutions, i.e. https://cdn.7tv.app/badge/612f92abe1280b72b856b4d4/2x and https://cdn.7tv.app/badge/612f92abe1280b72b856b4d4/1x. This results in faulty image rendering in FFZ 7TV Emotes Add-On on HDPI resolutions, see attached screenshot. It of course could be solved at FFZ side, but CDN is the core issue here.

Screenshots

HDPI resolution, URL undefined

image image

No HDPI resolution, correct URL

image image

TomasTokaMrazek commented 2 years ago

Already fixed