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

Jaeger UI broken when accessing via IPv6 address (#491) #494

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

MaheshGPai
Copy link

@MaheshGPai MaheshGPai commented Dec 3, 2019

Which problem is this PR solving?

Jeager UI broken when accessing via IPv6 address (#491)

Short description of the changes

Corrected the logic to determine pathPrefix by escaping RegEx characters

@yurishkuro
Copy link
Member

could you add unit tests?

@codecov
Copy link

codecov bot commented Dec 5, 2019

Codecov Report

Merging #494 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #494      +/-   ##
==========================================
+ Coverage   92.75%   92.76%   +<.01%     
==========================================
  Files         193      193              
  Lines        4652     4655       +3     
  Branches     1119     1121       +2     
==========================================
+ Hits         4315     4318       +3     
  Misses        297      297              
  Partials       40       40
Impacted Files Coverage Δ
packages/jaeger-ui/src/utils/prefix-url.tsx 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c175e1...e9a9d2d. Read the comment docs.

@yurishkuro
Copy link
Member

@everett980 please review

Copy link
Collaborator

@everett980 everett980 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @MaheshGPai! Sorry it took me so long to get to this PR, I didn't see that the tests were added.

I've requested some small stylistic changes, but otherwise it looks good.

packages/jaeger-ui/src/utils/prefix-url.tsx Outdated Show resolved Hide resolved
packages/jaeger-ui/src/utils/prefix-url.tsx Show resolved Hide resolved
packages/jaeger-ui/src/utils/prefix-url.tsx Outdated Show resolved Hide resolved
packages/jaeger-ui/src/utils/prefix-url.test.js Outdated Show resolved Hide resolved
…#491)

Signed-off-by: Mahesh PAI R <mahesh.pai_r@nokia.com>
@MaheshGPai
Copy link
Author

Have incorporated the requested changes.

Copy link
Collaborator

@everett980 everett980 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 thanks again!

@everett980 everett980 merged commit 36ab156 into jaegertracing:master Dec 10, 2019
@pavolloffay pavolloffay changed the title Fixes Jeager UI broken when accessing via IPv6 address (#491) Jaeger UI broken when accessing via IPv6 address (#491) Dec 16, 2019
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
Fixes Jeager UI broken when accessing via IPv6 address (jaegertracing#491)
Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
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.

None yet

3 participants