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

Don't extract links as arbitrary properties #17129

Merged
merged 2 commits into from
Mar 11, 2025
Merged

Conversation

philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Mar 11, 2025

Closes #17128

This PR prevents extraction of links inside square brackets as valid candidate:

[https://example/]

We do this by throwing out arbitrary properties when the value starts with a slash (/).

Test plan

  • Added unit test

@philipp-spiess philipp-spiess requested a review from a team as a code owner March 11, 2025 14:55
@philipp-spiess philipp-spiess force-pushed the fix/dont-extract-md-urls branch from 98cc915 to 7a5b6ab Compare March 11, 2025 14:56
@RobinMalfait RobinMalfait enabled auto-merge (squash) March 11, 2025 16:37
@RobinMalfait RobinMalfait merged commit 9d7f253 into main Mar 11, 2025
5 checks passed
@RobinMalfait RobinMalfait deleted the fix/dont-extract-md-urls branch March 11, 2025 16:40
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.

Bug: [url] in typescript comments causing Unclosed block errors
2 participants