Merge pull request #2266 from ProNotion/issues/U4-9401
Fixes U4-9401 Double slashes in some Umbraco generated urls causes broken links
This commit is contained in:
@@ -70,7 +70,7 @@ namespace Umbraco.Web
|
||||
if (!GlobalSettings.UseDirectoryUrls)
|
||||
path += ".aspx";
|
||||
else if (UmbracoConfig.For.UmbracoSettings().RequestHandler.AddTrailingSlash)
|
||||
path += "/";
|
||||
path = path.EnsureEndsWith("/");
|
||||
}
|
||||
|
||||
path = ToAbsolute(path);
|
||||
|
||||
Reference in New Issue
Block a user