Skip to content

Commit

Permalink
Fixes #366, stackoverflow exception when calling embedded MVC partial…
Browse files Browse the repository at this point in the history
… views within an ASPX page.
  • Loading branch information
NightOwl888 committed Nov 2, 2014
1 parent c34f077 commit 1b55e0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MvcSiteMapProvider/MvcSiteMapProvider/SiteMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,8 @@ protected virtual ISiteMapNode FindSiteMapNodeFromUrl(string relativeUrl, string
string clientQueryString = currentHandler.ClientQueryString;
if (clientQueryString.Length > 0)
{
node = this.FindSiteMapNode(relativePath + "?" + clientQueryString);
var aspNetRelativeMatch = this.siteMapChildStateFactory.CreateUrlKey(relativePath + "?" + clientQueryString, string.Empty);
node = this.FindSiteMapNodeFromUrlMatch(aspNetRelativeMatch);
}
}
}
Expand Down

0 comments on commit 1b55e0e

Please sign in to comment.