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

Check link protocol #6486

Merged
merged 5 commits into from
Oct 2, 2024
Merged

Check link protocol #6486

merged 5 commits into from
Oct 2, 2024

Conversation

max-nextcloud
Copy link
Collaborator

Only preview and link known protocols such as http and https.

Links will still be added to the dom for mailto: and tel: as well.
So they can still be opened via the browser context menu.

@max-nextcloud max-nextcloud requested a review from mejo- as a code owner October 1, 2024 17:44
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Only generate previews for http and https.
Only link to http, https, mailto, and tel.

Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the fix/check-link-protocol branch from 1c084d8 to bf045fd Compare October 2, 2024 05:00
@max-nextcloud
Copy link
Collaborator Author

/backport to stable30

@max-nextcloud
Copy link
Collaborator Author

/backport to stable29

@max-nextcloud
Copy link
Collaborator Author

/backport to stable28

@max-nextcloud max-nextcloud merged commit 86fb317 into main Oct 2, 2024
58 of 61 checks passed
@max-nextcloud max-nextcloud deleted the fix/check-link-protocol branch October 2, 2024 05:22
@max-nextcloud
Copy link
Collaborator Author

cypress failures are unrelated.

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

Successfully merging this pull request may close these issues.

2 participants