Skip to content

fix url parsing for urls with percentage sign in them#4937

Merged
jerch merged 2 commits intoxtermjs:masterfrom
szymonkaliski:sk/fix-url-parsing
Jan 11, 2024
Merged

fix url parsing for urls with percentage sign in them#4937
jerch merged 2 commits intoxtermjs:masterfrom
szymonkaliski:sk/fix-url-parsing

Conversation

@szymonkaliski
Copy link
Copy Markdown
Contributor

This PR fixes the issue outline and discussed in here #4934

Copy link
Copy Markdown
Member

@jerch jerch left a comment

Choose a reason for hiding this comment

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

LGTM, just a minor nitpick from my side below.

@@ -64,8 +76,7 @@ export class LinkComputer {
// - append / also match domain urls w'o any path notion
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you also edit the comment to reflect the code, e.g. remove the listing and mention the explicit equality testing up to the host part.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated the comment, lmk what you think

@szymonkaliski szymonkaliski requested a review from jerch January 11, 2024 19:23
Copy link
Copy Markdown
Member

@jerch jerch left a comment

Choose a reason for hiding this comment

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

Yepp LGTM, thx alot! 👍

@jerch jerch added this to the 5.4.0 milestone Jan 11, 2024
@jerch jerch enabled auto-merge January 11, 2024 20:42
@jerch jerch merged commit 99df13b into xtermjs:master Jan 11, 2024
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