Skip to content

Conversation

wangshu3000
Copy link
Contributor

This is a PR to fix #971

The regex in oci_detector.go is not in correct format.

In regex, the dot . in domain should be escaped.
For example: *., should be *.

So that it'll match the . as a . string, but not any single character in regex.

Signed-off-by: Wang, Shu <shu.wang@fmr.com>
Copy link
Member

@jalseth jalseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jalseth jalseth merged commit 2f13857 into open-policy-agent:master Jul 26, 2024
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.

fix: There is a regex issue in downloader
2 participants