integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
2.98k stars 468 forks source link

Unfurl removes chevrons in preview? #1849

Open balint-backmaker opened 4 months ago

balint-backmaker commented 4 months ago

Describe the bug When we paste GitHub links to .toml files, it seems that the unfurl removes the <> characters. Maybe it's a security feature, but it would be nice to not ignore these and validate instead (or refuse explicitly, in case of suspicious text)

To Reproduce Paste this link in a channel: https://github.com/testcontainers/testcontainers-python/blob/main/pyproject.toml#L5

Expected behavior We expect the exact line to be reproduced as:

authors = ["Sergey Pirogov <automationremarks@gmail.com>"]

Screenshots unfurl_bug

Desktop (please complete the following information):

Additional context Tried on my phone, I don't think this is device dependent. Multiple colleagues reported the same observation when we had the issue.