aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/HypergridService/GatekeeperService.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs
index 4419201..bbddd87 100644
--- a/OpenSim/Services/HypergridService/GatekeeperService.cs
+++ b/OpenSim/Services/HypergridService/GatekeeperService.cs
@@ -330,10 +330,12 @@ namespace OpenSim.Services.HypergridService
330 if (parts.Length < 2) 330 if (parts.Length < 2)
331 return false; 331 return false;
332 332
333 string addressee = parts[0]; 333 char[] trailing_slash = new char[] { '/' };
334 m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName); 334 string addressee = parts[0].TrimEnd(trailing_slash);
335 string externalname = m_ExternalName.TrimEnd(trailing_slash);
336 m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, externalname);
335 337
336 return string.Equals(addressee, m_ExternalName, StringComparison.OrdinalIgnoreCase); 338 return string.Equals(addressee, externalname, StringComparison.OrdinalIgnoreCase);
337 } 339 }
338 340
339 #endregion 341 #endregion