Selective Sync fixes
[pithos-ms-client] / trunk / Pithos.Core / Agents / CollectionExtensions.cs
index 2a785cc..b4ecd38 100644 (file)
@@ -168,7 +168,7 @@ namespace Pithos.Core.Agents
             //the target is not below the root\r
             //DON'T FORGET that Uri segments include the slashes. Must remove them to ensure proper checks\r
             var mismatch = rootSegments\r
-                .Where((t, i) => !String.Equals(targetSegments[i].TrimEnd('/'), t.TrimEnd('/')))\r
+                .Where((t, i) => !String.Equals(targetSegments[i].TrimEnd('/'), t.TrimEnd('/'),StringComparison.InvariantCultureIgnoreCase))\r
                 .Any();\r
             return !mismatch;\r
         }\r