You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a bit of an edge case here but after updating to v4.6.15
In older parts of the site we are rendering the sitemap using a mvc partial embedded in an aspx page.
We have very large quantities of non-public accessible urls so don't want to create nodes for each.
When SiteMap.FindSiteMapNodeFromUrl is called on a url that doesn't exist in the sitemap line 747 gives
Thanks for the report. Your solution just makes an unreachable execution path, effectively cancelling the find operation when using an ASP.NET page. I have created a fix that I believe will work in v4.6.17, but I was unable to test it because I was unable to reproduce the issue. Please confirm that this patch works and/or provide a way to reproduce this scenario.
This might be a bit of an edge case here but after updating to v4.6.15
In older parts of the site we are rendering the sitemap using a mvc partial embedded in an aspx page.
We have very large quantities of non-public accessible urls so don't want to create nodes for each.
When SiteMap.FindSiteMapNodeFromUrl is called on a url that doesn't exist in the sitemap line 747 gives
This call to FindSiteMapNode then calls FindSiteMapNodeFromUrl again which ends up in a stack overflow.
I changed that code to
and all seems to be well again
The text was updated successfully, but these errors were encountered: