aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService
diff options
context:
space:
mode:
authorMelanie2010-12-30 01:40:38 +0000
committerMelanie2010-12-30 01:40:38 +0000
commit3b50066ceb620ec00c50e3ea52be398e9914afdc (patch)
treeaf41bb529e93a0d2cf5e2ee002f0231d300c0d16 /OpenSim/Services/HypergridService
parentImplement SendPlacesReply (diff)
parentImplement SendPlacesReply (diff)
downloadopensim-SC_OLD-3b50066ceb620ec00c50e3ea52be398e9914afdc.zip
opensim-SC_OLD-3b50066ceb620ec00c50e3ea52be398e9914afdc.tar.gz
opensim-SC_OLD-3b50066ceb620ec00c50e3ea52be398e9914afdc.tar.bz2
opensim-SC_OLD-3b50066ceb620ec00c50e3ea52be398e9914afdc.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/HypergridService')
-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