WWW-Authenticate parsing bug
goofballLogic opened this issue · 2 comments
goofballLogic commented
https://github.com/ChangemakerStudios/Docker.Registry.DotNet/blob/master/src/Docker.Registry.DotNet/Authentication/AuthenticateParser.cs#L14 assumes that there are no commas within quoted segments of the header.
In practice the following (obfuscated) string is breaking for me:
WWW-Authenticate: Bearer realm="https://containers.bigfish.com/v2/auth",service="containers.bigfish.com",scope="repository:myorg/my-repository:pull,push"
goofballLogic commented
Are you accepting PRs? @Jaben , @chrismo111 I have functional if not pretty code to fix this...
goofballLogic commented
Is this project dead? Do you need a new maintainer? Happy to help out if so.