File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/jenkins/plugins/http_request Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2424import javax .net .ssl .X509ExtendedTrustManager ;
2525
2626import org .apache .commons .io .IOUtils ;
27- import org .apache .commons .lang .StringUtils ;
2827import org .apache .http .HttpEntity ;
2928import org .apache .http .HttpHeaders ;
3029import org .apache .http .HttpHost ;
@@ -185,9 +184,9 @@ private HttpRequestExecution(
185184 this .httpMode = httpMode ;
186185 this .ignoreSslErrors = ignoreSslErrors ;
187186
188- if (StringUtils . isNotBlank ( httpProxy )) {
187+ if (httpProxy != null && ! httpProxy . isBlank ( )) {
189188 this .httpProxy = HttpHost .create (httpProxy );
190- if (StringUtils . isNotBlank ( proxyAuthentication )) {
189+ if (proxyAuthentication != null && ! proxyAuthentication . isBlank ( )) {
191190
192191 StandardCredentials credential = CredentialsMatchers .firstOrNull (
193192 CredentialsProvider .lookupCredentials (
You can’t perform that action at this time.
0 commit comments