diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index d6f0630fc8..361f895d26 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -1267,12 +1267,16 @@ namespace OpenSim.Framework.Servers byte[] buffer; - if (!(contentType.Contains("image") || contentType.Contains("x-shockwave-flash"))) + if (!(contentType.Contains("image") + || contentType.Contains("x-shockwave-flash") + || contentType.Contains("application/x-oar"))) { + // Text buffer = Encoding.UTF8.GetBytes(responseString); } else { + // Binary! buffer = Convert.FromBase64String(responseString); }