Closed yahavi closed 3 months ago
Fix https://github.com/jfrog/jfrog-cli/issues/2638
The NO_PROXY pattern for specifying multiple hosts is a comma-separated list: NO_PROXY=host1.jfrog.io,host2.jfrog.io https://www.gnu.org/software/emacs/manual/html_node/url/Proxies.html
NO_PROXY
NO_PROXY=host1.jfrog.io,host2.jfrog.io
In Java, the system property http.nonProxyHosts uses a pipe-separated list for multiple hosts: -Dhttp.nonProxyHosts=host1.jfrog.io|host2.jfrog.io https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
http.nonProxyHosts
-Dhttp.nonProxyHosts=host1.jfrog.io|host2.jfrog.io
This pull request adjusts the http.nonProxyHosts value by replacing commas with pipes.
[x] All tests have passed. If this feature is not already covered by the tests, new tests have been added.
Fix https://github.com/jfrog/jfrog-cli/issues/2638
The
NO_PROXY
pattern for specifying multiple hosts is a comma-separated list:NO_PROXY=host1.jfrog.io,host2.jfrog.io
https://www.gnu.org/software/emacs/manual/html_node/url/Proxies.htmlIn Java, the system property
http.nonProxyHosts
uses a pipe-separated list for multiple hosts:-Dhttp.nonProxyHosts=host1.jfrog.io|host2.jfrog.io
https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.htmlThis pull request adjusts the
http.nonProxyHosts
value by replacing commas with pipes.