mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Merge branch 'diva-textures-osgrid'
This commit is contained in:
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Capabilities
|
||||
|
||||
writer.Close();
|
||||
|
||||
return Encoding.UTF8.GetBytes(sw.ToString());
|
||||
return Util.UTF8.GetBytes(sw.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -329,7 +329,7 @@ namespace OpenSim.Framework.Capabilities
|
||||
|
||||
reader.Read();
|
||||
FromBase64Transform b64 = new FromBase64Transform(FromBase64TransformMode.IgnoreWhiteSpaces);
|
||||
byte[] inp = Encoding.UTF8.GetBytes(reader.ReadString());
|
||||
byte[] inp = Util.UTF8.GetBytes(reader.ReadString());
|
||||
ret = b64.TransformFinalBlock(inp, 0, inp.Length);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Capabilities
|
||||
public override byte[] Handle(string path, Stream request,
|
||||
OSHttpRequest httpRequest, OSHttpResponse httpResponse)
|
||||
{
|
||||
//Encoding encoding = Encoding.UTF8;
|
||||
//Encoding encoding = Util.UTF8;
|
||||
//StreamReader streamReader = new StreamReader(request, false);
|
||||
|
||||
//string requestBody = streamReader.ReadToEnd();
|
||||
|
||||
Reference in New Issue
Block a user