... in same cases http/https can't be determined. possible both need to be present, possible with http a redir to https. TODO

This commit is contained in:
UbitUmarov
2024-08-17 00:33:02 +01:00
parent 79dbca84f9
commit 8eef70ec9c

View File

@@ -632,11 +632,7 @@ namespace OpenSim.Services.GridService
parameters.Insert(3, parts[2]);
cmdparams = (string[])parameters.ToArray(typeof(string));
}
string uri = cmdparams[2].StartsWith("https")
? "https://" + parts[0] + ':' + parts[1]
: "http://" + parts[0] + ':' + parts[1];
cmdparams[2] = uri;
cmdparams[2] = "http://" + parts[0] + ':' + parts[1];
RunLinkRegionCommand(cmdparams);
}