discuit icon indicating copy to clipboard operation
discuit copied to clipboard

[Bug] Link post with non-accessible image results in 500 error

Open Codycody31 opened this issue 10 months ago • 0 comments

Initial post reporting this: https://discuit.net/DiscuitMeta/post/_FbRPTSe Site link: https://www.mobilephonemuseum.com/ Image link: https://mpm-next.code8.link/logo.png (this image returns a 503 from apache, not an image) Message on server when attempting to use URL: 500 Internal server error: Unsupported image format

Seems the image the site uses for its ogImage is not a format discuit supports. Or more like the image it is trying to use doesn't exist

https://github.com/discuitnet/discuit/blob/f6fc5b6aef8f224cf8b71551e430b4965921fb8c/core/post.go#L688-L730

Codycody31 avatar Apr 22 '24 21:04 Codycody31