helidon-io / helidon-build-tools

Build tools for the Helidon Project
https://helidon.io
Apache License 2.0
35 stars 35 forks source link

cli does handle proxy environment variables with trailing slash #1060

Open romain-grecourt opened 3 months ago

romain-grecourt commented 3 months ago

If the proxy set in the environment contains non digit characters after the port, the bad characters are included. E.g. https_proxy=com.acme:80/

The code in io.helidon.build.common.Proxies should be improved to be as robust and flexible as possible. I.e. If an existing environment works with other tools, it should work with the Helidon CLI.


E.g.

export https_proxy=com.acme:80/
helidon --debug init --reset