We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dacab8 commit e80d117Copy full SHA for e80d117
src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
@@ -1,3 +1,4 @@
1
+using System.Web;
2
using Microsoft.Extensions.Logging;
3
using Umbraco.Cms.Core.Models;
4
using Umbraco.Cms.Core.Models.PublishedContent;
@@ -89,7 +90,7 @@ public async Task<bool> TryFindContent(IPublishedRequestBuilder frequest)
89
90
}
91
92
frequest
- .SetRedirectPermanent(url)
93
+ .SetRedirectPermanent(HttpUtility.UrlPathEncode(url))
94
95
// From: http://stackoverflow.com/a/22468386/5018
96
// See http://issues.umbraco.org/issue/U4-8361#comment=67-30532
0 commit comments