fix: allow BASIC authentication (all caps) #3471
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix: allow BASIC authentication (all caps)
What does this PR do?
Allows registries that have BASIC in the header instead of Basic to be
extractable using the extractAuthData function.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
Closes #3470
How to test this PR?
BEFORE TESTING:
Patch in #3468 to remove the invalid
The format of the Registry Location is incorrect
. Or remove the line https://github.com/containers/podman-desktop/pull/3468/files#diff-18bc4f2318c7a0814b55328a4186d337972e6bcdd4c09b33d9b9353c47c2c5ffL713 before running.podman run -d -p 8081:8081 -p 8082:8082 -p 443:443 --name nexus sonatype/nexus3
and setup an accesible docker registry"Invalid URL"
Signed-off-by: Charlie Drage charlie@charliedrage.com