You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
OS: macOS 12
Compiler(if manually compiled): go 1.19
Additional context
This seems to be an issue with the locationRegexp. I took a valid yaml URI from the yaml provider test here and plugged it into the regex and it fails to parse. I have this up on the go playground here.
Looks like it is due to the newlines in the yaml. If you remove the newlines the URI works or if you remove the $ from the locationRegexp it also works.
The text was updated successfully, but these errors were encountered:
Describe the bug
With the URI parsing changes from #6271 in the
confgmap.Resolver
valid yaml URIs no longer work.Steps to reproduce
Take a valid yaml config string and use similar logic to below will result in an invalid URI error:
What did you expect to see?
No URI error
What did you see instead?
Error for invalid URI
What version did you use?
Version: v0.62.0
What config did you use?
any valid config
Environment
OS: macOS 12
Compiler(if manually compiled): go 1.19
Additional context
This seems to be an issue with the
locationRegexp
. I took a valid yaml URI from the yaml provider test here and plugged it into the regex and it fails to parse. I have this up on the go playground here.Looks like it is due to the newlines in the yaml. If you remove the newlines the URI works or if you remove the
$
from thelocationRegexp
it also works.The text was updated successfully, but these errors were encountered: