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 #84

Open
mjwyr opened this issue Dec 17, 2021 · 2 comments
Open

密码带@符号时无法正常解析url #84

mjwyr opened this issue Dec 17, 2021 · 2 comments

Comments

@mjwyr
Copy link

mjwyr commented Dec 17, 2021

image
有解决方式吗,还是只能改密码

@abatkin
Copy link
Member

abatkin commented Dec 19, 2021

That does appear to be the case, but due to the way that URLs are parsed (outside of this library). PRs are welcome (as would release testing help) - I suppose to allow the username and password to go into their own attributes.

@XuefengLi
Copy link

如果密码中包含@,可以通过在headers里增加Authorization,换种方式实现es的认证,其中value是通过Basic Auth加密后的字符串,可以通过postman查找。如下,已测试通过。

#header#
#name#Authorization#/name#
#value#Basic xxxxxx#/value#
#/header#
,#替换成><

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

No branches or pull requests

3 participants