Skip to content

Commit

Permalink
Little fix for OData specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Fournier committed Jul 18, 2013
1 parent e0d82d8 commit 78748b6
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -11,6 +11,11 @@ public IHttpHandler GetHttpHandler(RequestContext requestContext)
string entitySet = requestContext.RouteData.Values["EntitySet"] as string;
string remainder = requestContext.RouteData.Values["Remainder"] as string;

if (entitySet.EndsWith("()"))
{
entitySet = entitySet.Substring(0, entitySet.Length - 2);
}

if (!AppSettings.EnabledStorageAccounts.ContainsKey(ogdiAlias))
{
// If the requested OgdiAlias for the storage account is not already cached, then refresh the cache.
Expand Down

0 comments on commit 78748b6

Please sign in to comment.