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

URL preview Rickrolling #2063

Open
bkil opened this issue Nov 25, 2024 · 0 comments
Open

URL preview Rickrolling #2063

bkil opened this issue Nov 25, 2024 · 0 comments

Comments

@bkil
Copy link

bkil commented Nov 25, 2024

Describe the bug

If you paste in CommonMark URL syntax using either angle brackets or square brackets and parenthesis, the preview information will be incorrect. The clickable links inside the rich formatted message will still be correct and clickable and point to the right place (or to malicious site, depending on the intention of the sender). It is only the link preview itself that is misleading.

Reproduction

Turn on "Markdown formatting" in settings and send in the following message:

https://bkil.gitlab.io/static-wonders.js/game/guard.htm#
[Bifurcation diagram of logistic map](https://bkil.gitlab.io/static-wonders.js/toy/logismap.htm#)
<https://bkil.gitlab.io/static-wonders.js/toy/busybvr.htm#>
[https://bkil.gitlab.io/static-wonders.js/joke/dare.htm#](https://bkil.gitlab.io/static-wonders.js/joke/dare.htm#)
[https://bkil.gitlab.io/gemiweb0/#](https://bkil.gitlab.io/static-wonders.js/game/rockpaps.htm#)

You will get preview descriptions and links for the following URLs respectively:

Expected behavior

You should be getting preview descriptions and links for the following URLs respectively:

Platform and versions

Cinny Web v4.2.3

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