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

Fixed bug where port forward URL for mapper CLI could be incorrectly constructed sometimes #141

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

orishoshan
Copy link
Contributor

@orishoshan orishoshan commented Nov 28, 2023

Closes otterize/network-mapper#162.

Prior to this PR, we would manually construct the url.URL object passed to the port forwarder using in connecting to the network mapper in your cluster. With some configurations, this could lead to incorrect URLs. We now use url.Parse and url.Join to construct the URL.

@orishoshan orishoshan marked this pull request as ready for review November 28, 2023 12:53
@orishoshan orishoshan merged commit 9508943 into main Nov 28, 2023
6 checks passed
@orishoshan orishoshan deleted the orisho/dont_manually_construct_url branch November 28, 2023 14:36
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Otterize network-mapper invalid URL escape
2 participants