Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload:// leaks into emails #161

Open
setharnold opened this issue Dec 17, 2023 · 0 comments
Open

upload:// leaks into emails #161

setharnold opened this issue Dec 17, 2023 · 0 comments

Comments

@setharnold
Copy link

Bug Description

Hello, I get emails for some Discourse content. A lot of the links in the emails are broken, they'll be of the form: upload://XXXXXXXXXXXXXXXXXXXXXXXXXXX.png or similar.

One that I got recently on a public post is https://discourse.ubuntu.com/t/we-need-to-revisit-the-first-visit-experience/40889/

![image|800x716](upload://ct8nVSNr5AM0Q82hFxa7SQX1vJu.png)

Because these aren't useful, I would rather they be replaced with a link to the image or whatever other content was embedded.

Thanks

It seems to happen across many of our Discourse sites:

$ rg -c -l upload:// 
imaps:[email protected]:993/web-and-design-discourse-canonical-com/iterations/1350509886-1:7
imaps:[email protected]:993/web-and-design-discourse-canonical-com/iterations/1350509886-2:11
imaps:[email protected]:993/engineering-discourse-canonical-com/foundations/1350509894-1:1
imaps:[email protected]:993/engineering-discourse-canonical-com/foundations/1350509894-3:1
imaps:[email protected]:993/engineering-discourse-canonical-com/foundations/1350509894-2:1
imaps:[email protected]:993/engineering-discourse-canonical-com/announcements/1350509888-25:1
imaps:[email protected]:993/engineering-discourse-canonical-com/announcements/1350509888-46:1
imaps:[email protected]:993/engineering-discourse-canonical-com/announcements/1350509888-12:1
imaps:[email protected]:993/content-discourse-canonical-com/announcements/1350509967-2:1
imaps:[email protected]:993/content-discourse-canonical-com/announcements/1350509967-1:1
imaps:[email protected]:993/discourse-ubuntu-com/site-feedback/1350509969-7:5
imaps:[email protected]:993/communications-and-content-discourse-canonical-com/announcements/1350509986-1:1
imaps:[email protected]:993/discourse-canonical-com/announcements/1350509946-5:1
imaps:[email protected]:993/discourse-canonical-com/announcements/1350509946-15:1
imaps:[email protected]:993/discourse-canonical-com/engineering/1350509873-6:1
imaps:[email protected]:993/discourse-canonical-com/engineering/1350509873-2:3

To Reproduce

N/A

Environment

N/A

Relevant log output

N/A

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant