Skip to content

Bug 1824139 - URL is broken if it contains bugXXX#37

Open
dklawren wants to merge 1 commit intomasterfrom
1824139
Open

Bug 1824139 - URL is broken if it contains bugXXX#37
dklawren wants to merge 1 commit intomasterfrom
1824139

Conversation

@dklawren
Copy link
Copy Markdown

@dklawren dklawren commented Mar 23, 2023

This patch updates the regexp to use word boundaries (\b) so now if we are in a URL it will not try to linkify bugXXX to BMO.

@dklawren dklawren requested a review from cgsheeh March 23, 2023 16:26
Copy link
Copy Markdown
Member

@cgsheeh cgsheeh left a comment

Choose a reason for hiding this comment

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

LGTM - if we have a test for this we should add a case to cover this.

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