-
Bug
-
Resolution: Done
-
Critical
-
4.5.3.Final
-
None
According to the current implementation at
https://github.com/resteasy/Resteasy/blob/master/resteasy-client-microprofile/src/main/java/org/jboss/resteasy/microprofile/client/RestClientBuilderImpl.java (lines 208-) the parsing of the nonProxyHost parameter is not correct:
List<String> noProxyHosts = Arrays.asList( System.getProperty("http.nonProxyHosts", "localhost|127.*|[::1]").split("|")); String envProxyHost = System.getProperty("http.proxyHost"); if (envProxyHost != null && !noProxyHosts.contains(baseURI.getHost())) {
1. String.split is using a regex. The current implementation split on every character. This can be fixed by using
.split("\\|")
- is cloned by
-
RESTEASY-2641 RestClientBuilder nonProxyHost parameter not evaluated correctly with wildcards
- Resolved