diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Authentication')
-rw-r--r-- | OpenSim/Server/Handlers/Authentication/AuthenticationServerPostHandler.cs | 3 | ||||
-rw-r--r-- | OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Authentication/AuthenticationServerPostHandler.cs b/OpenSim/Server/Handlers/Authentication/AuthenticationServerPostHandler.cs index a19b599..6b93cd9 100644 --- a/OpenSim/Server/Handlers/Authentication/AuthenticationServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Authentication/AuthenticationServerPostHandler.cs | |||
@@ -321,8 +321,7 @@ namespace OpenSim.Server.Handlers.Authentication | |||
321 | private byte[] ResultToBytes(Dictionary<string, object> result) | 321 | private byte[] ResultToBytes(Dictionary<string, object> result) |
322 | { | 322 | { |
323 | string xmlString = ServerUtils.BuildXmlResponse(result); | 323 | string xmlString = ServerUtils.BuildXmlResponse(result); |
324 | UTF8Encoding encoding = new UTF8Encoding(); | 324 | return Util.UTF8NoBomEncoding.GetBytes(xmlString); |
325 | return encoding.GetBytes(xmlString); | ||
326 | } | 325 | } |
327 | } | 326 | } |
328 | } | 327 | } |
diff --git a/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs b/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs index dfed761..18cef15 100644 --- a/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs +++ b/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs | |||
@@ -191,6 +191,8 @@ For more information, see <a href='http://openid.net/'>http://openid.net/</a>. | |||
191 | 191 | ||
192 | #endregion HTML | 192 | #endregion HTML |
193 | 193 | ||
194 | public string Name { get { return "OpenId"; } } | ||
195 | public string Description { get { return null; } } | ||
194 | public string ContentType { get { return m_contentType; } } | 196 | public string ContentType { get { return m_contentType; } } |
195 | public string HttpMethod { get { return m_httpMethod; } } | 197 | public string HttpMethod { get { return m_httpMethod; } } |
196 | public string Path { get { return m_path; } } | 198 | public string Path { get { return m_path; } } |