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

#168 handle strange runes in auth url #170

Closed
wants to merge 2 commits into from
Closed

#168 handle strange runes in auth url #170

wants to merge 2 commits into from

Conversation

Pilzington
Copy link

In Issue #168 I mentioned that I always got a 400 error when trying to connect to a certain registry.

After some digging I found out that the url to authenticate klar had an space which was not encode correctly by klar. Here is the code I used to make it work.

The url looked like this with "Docker Registry" in the service variable. The space triggered the error.

"https://example.com/auth?service=Docker Registry&scope=repository:hello/world:pull&account=example-user"

This pull request was closed.
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

1 participant