dead8309 / Kizzy

Discord Rich Presence for Android. Made with jetpack compose and material3

Home Page:https://kizzy.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove parameters from attachment URLS

kyoyacchi opened this issue · comments

Recently, Discord added some parameters to end of attachments url.

URL with parameters (which breaks custom RPC if users specify a URL like this)

https://cdn.discordapp.com/attachments/871133764410019890/1161970562978029588/luffypunchkaido.gif?ex=653a3c6a&is=6527c76a&hm=2e72e083efb69d31e8ed245c3e91edd0ecfbb72b4172f27a492900b3329a5638&

Clean URL:

https://cdn.discordapp.com/attachments/871133764410019890/1161970562978029588/luffypunchkaido.gif

(Same goes with media.discordapp.net/ urls)

Could you please add an option to remove parameters when user enters image url or a system that automatically clears parameters when user enters an image url into image input fields.