Skip to content

Commit 3c29e32

Browse files
authored
Merge pull request #375 from bg-ssh/master
Fix unauthenticated proxy
2 parents d815d13 + af092fe commit 3c29e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/%ZPM/PackageManager/Client/REST/PackageManagerClient.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Method GetHttpRequest(tLocation = {..Location}) As %Net.HttpRequest
280280
}
281281
set tRequest.ProxyPort=pr("port")
282282
set tRequest.ProxyServer=pr("host")
283-
if pr("username")'="",pr("password")'="" {
283+
if $get(pr("username"))'="",$get(pr("password"))'="" {
284284
set tRequest.ProxyAuthorization="Basic "_$system.Encryption.Base64Encode(pr("username")_":"_pr("password"))
285285
}
286286
}

0 commit comments

Comments
 (0)