Skip to content

Conversation

provokateurin
Copy link
Member

Summary

Related to nextcloud/spreed#13756.
Apparently the web UI doesn't use this regex but a hardcoded one, but I fixed it there as well: nextcloud-libraries/nextcloud-vue#6224
Clients should be using this regex, so it also needs to work with the parenthesis from embedded markdown links.

Checklist

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs extensive tests added to not break cases like:

Please check the website (https://nextcloud.com/)
Please check the website https://nextcloud.com/wikipedia_(has-braces)

And the likes. It was a long fight with usability of most users. So we really prefer broken previews over broken UX of normal users posting behaviour

@blizzz blizzz mentioned this pull request Jan 8, 2025
This was referenced Jan 14, 2025
This was referenced Jan 21, 2025
@blizzz blizzz mentioned this pull request Jan 29, 2025
1 task
@blizzz blizzz modified the milestones: Nextcloud 31, Nextcloud 32 Jan 29, 2025
@provokateurin
Copy link
Member Author

provokateurin commented Jun 23, 2025

If a URL has special characters, they must be encoded, no? I don't see how even the browser could work with it, if the URL is not encoded.

This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants