diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/SiteMapNode.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/SiteMapNode.cs index 150a8164..e38eae1d 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/SiteMapNode.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/SiteMapNode.cs @@ -407,7 +407,7 @@ public override string CanonicalUrl if (!String.IsNullOrEmpty(absoluteCanonicalUrl)) { var httpContext = mvcContextFactory.CreateHttpContext(); - if (absoluteCanonicalUrl.Equals(httpContext.Request.Url.AbsoluteUri)) + if (absoluteCanonicalUrl.Equals(urlPath.UrlDecode(httpContext.Request.Url.AbsoluteUri))) { return String.Empty; }