mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
... 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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user