Merge pull request #276 from IDisposable/patch-2

Octathorpes have no case.
This commit is contained in:
James Newton-King
2014-05-15 12:49:30 +12:00
@@ -98,7 +98,7 @@ namespace Newtonsoft.Json.Schema
{
string reference = schema.DeferredReference;
bool locationReference = (reference.StartsWith("#", StringComparison.OrdinalIgnoreCase));
bool locationReference = (reference.StartsWith("#", StringComparison.Ordinal));
if (locationReference)
reference = UnescapeReference(reference);
@@ -445,4 +445,4 @@ namespace Newtonsoft.Json.Schema
return JsonSchemaConstants.JsonSchemaTypeMapping.Single(kv => kv.Value == type).Key;
}
}
}
}