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 4358d0e commit f9e2714Copy full SHA for f9e2714
pkg/providerregistry/v2alpha1/helper.go
@@ -47,6 +47,9 @@ func GetXForwardedHost(req *http.Request) (uri string) {
47
} {
48
uri = uriFunc()
49
if len(uri) > 0 {
50
+ if !strings.HasPrefix(uri, "https://") && !strings.HasPrefix(uri, "http://") {
51
+ uri = "http://" + uri
52
+ }
53
return uri
54
}
55
0 commit comments