Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Fix OCIRegistry.WWW_AUTHENTICATE_REGEX in /nanolayer/utils/oci_registry.py #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ohara-iri
Copy link

This PR addresses an issue with OCIRegistry.WWW_AUTHENTICATE_REGEX. The WWW-Authenticate header can be provided with all uppercase “WWW”, but the current implementation only allows the first character to be uppercase ([Ww]ww). This fix ensures that the regex correctly handles the WWW-Authenticate header regardless of the case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant