Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Dec 17, 2024

Backport of PR #6794

When pasting strings with invalid URLs, `new URL()` in `renderHTML()` of
the Link extension threw an error, which made the paste parser choke.

We should catch this exception and handle it gracefully to not break
HTML parsing completely with invalid URLs.

Signed-off-by: Jonas <[email protected]>
@backportbot backportbot bot requested review from juliusknorr and mejo- December 17, 2024 17:28
@backportbot backportbot bot added bug Something isn't working 3. to review labels Dec 17, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.11 milestone Dec 17, 2024
@mejo- mejo- merged commit c6dd421 into stable29 Dec 17, 2024
56 of 59 checks passed
@mejo- mejo- deleted the backport/6794/stable29 branch December 17, 2024 21:15
@blizzz blizzz mentioned this pull request Jan 8, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants