We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe92c4 commit 2f43219Copy full SHA for 2f43219
probes/http-outbound-probe.js
@@ -123,7 +123,7 @@ function formatURL(httpOptions) {
123
} else {
124
url += 'localhost';
125
}
126
- if (httpOptions.port) {
+ if (httpOptions.port && !url.includes(':' + httpOptions.port)) {
127
url += ':' + httpOptions.port;
128
129
if (httpOptions.path) {
probes/https-outbound-probe.js
@@ -128,7 +128,7 @@ function formatURL(httpsOptions) {
130
131
- if (httpsOptions.port) {
+ if (httpsOptions.port && !url.includes(':' + httpsOptions.port)) {
132
url += ':' + httpsOptions.port;
133
134
if (httpsOptions.path) {
0 commit comments