KEMBAR78
fix url parsing for urls with percentage sign in them by szymonkaliski · Pull Request #4937 · xtermjs/xterm.js · GitHub
Skip to content

Conversation

@szymonkaliski
Copy link
Contributor

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

Copy link
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.

// one close enough:
// - decodeURI decode path segement back to byte repr
// to detect unicode auto conversion correctly
// - append / also match domain urls w'o any path notion
Copy link
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
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
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