Discord still uses the wrong user-agent when fetching image previews #6385
Replies: 2 comments 3 replies
-
The original reasoning given in the linked issue is still correct:
|
Beta Was this translation helpful? Give feedback.
-
Seems like this was fixed at some point? I just tested it, and the image was fetched with "Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)" agent, but for some reason it fetched the image 3 times. |
Beta Was this translation helpful? Give feedback.
-
The issue was locked, but the issue persists: #1600
At some point the user-agent was upgraded to "Mozilla/5.0 (Macintosh; Intel Mac OS X 11.6; rv:92.0) Gecko/20100101 Firefox/92.0"
Cloudflare shows requests with agent "Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)" as a verified bot, but not the Firefox agent used by image fetches. As a result when using bot management, link embed will be fetched, but the image will not be.
As I mentioned in the locked issue, other bots and applications that I am aware uses a clearly identifiable user-agent when requesting metadata and images. This is an odd discrepancy that Discord does.
Beta Was this translation helpful? Give feedback.
All reactions