Skip to content

Commit 613cb00

Browse files
authored
Treat blank proxy URL env vars as unset in ProxySettings.parse (#178)
1 parent c92eebe commit 613cb00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/otilm/csc/configuration/proxy/ProxySettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static ProxySettings read(String protocol) {
121121
}
122122

123123
static ProxySettings parse(String protocol, String proxyUrl, String noProxy) {
124-
if (proxyUrl == null) {
124+
if (proxyUrl == null || proxyUrl.isBlank()) {
125125
return null;
126126
}
127127
try {

0 commit comments

Comments
 (0)