Commit 19e4e8a2 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '31-the-value-of-nonproxyhost-is-tampered-by-shell-quoting' into 'master'

Resolve "The value of nonProxyHost is tampered by shell quoting"

Closes #31

See merge request to-be-continuous/maven!38
parents fc1e511f d115fd46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ stages:
      host=$(echo "$host_port" | cut -d':' -f1)
      port=$(echo "$host_port" | cut -s -d':' -f2)
      proto_proxy_args="-D$proto.proxyHost=$host -D$proto.proxyPort=${port:-80}"
      if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=\"$non_proxy_hosts\""; fi
      if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=$non_proxy_hosts"; fi
      echo "$proto_proxy_args"
    fi
  }