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

url parser will incorrect parsing url like "http://aaa.com/eee@bbb/x/y" #1509

Closed
wangzhen2271 opened this issue Jul 21, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@wangzhen2271
Copy link
Contributor

wangzhen2271 commented Jul 21, 2022

I report trace to url "http://tracing-analysis-dc-hz.aliyuncs.com/adapt_fdufe5deml@455595430f299c1_fdffe5degl@134f7ad2ffe83/api/otlp/traces". It always failed, I trace the code and found the urlparser take a mistake, the parse result is: host -- 455595430f299c1_fdffe5degl@134f7ad2ffe83 while it should be -- tracing-analysis-dc-hz.aliyuncs.com.

I think the "@" should be considered just when it in the first segment, so this should be fixed.

I want to submit a pull request to fix it.

image

@esigo
Copy link
Member

esigo commented Jul 24, 2022

already fixed in #1511.

@esigo esigo closed this as completed Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants