Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ziti-tunnel: --resolver option is not parsed correctly unless scheme is specified #1633

Open
scareything opened this issue Mar 24, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@scareything
Copy link
Member

The --resolver option is passed directly to url.Parse, which doesn't do what you'd expect if you specify e.g. a plain filename "file.txt" or an IP address "127.0.0.10" without the scheme ("file://", "udp://")

@andrewpmartinez andrewpmartinez added the enhancement New feature or request label Apr 21, 2021
@plorenz plorenz transferred this issue from openziti/edge Dec 14, 2023
@qrkourier
Copy link
Member

I see what you mean about input validation. You mentioned the file:// scheme. Does that mean ziti tunnel --resolver file://hosts.txt is a valid resolver? I'll research it if you don't happen to know off hand. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants