Skip to content

Commit

Permalink
Issue-4336 - Umlaut characters in URL cause module setting error (#4337)
Browse files Browse the repository at this point in the history
* Issue-4336 - Umlaut characters module settings fix

* Issue-4336 - UTs provided for AdvancedUrlRewriter

* Issue-4336 - Namespace fix

* Issue-4336 - Parallel execution UTs are handled
  • Loading branch information
berkarslan-xo committed Nov 28, 2020
1 parent 2fccd9d commit b2452bb
Show file tree
Hide file tree
Showing 3 changed files with 416 additions and 0 deletions.
1 change: 1 addition & 0 deletions DNN Platform/Library/Entities/Urls/AdvancedUrlRewriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,7 @@ private static bool CheckForRedirects(

if (!(bestFriendlyNoScheme == requestedPathNoScheme
|| bestFriendlyNoScheme == rawUrlWithHost
|| HttpUtility.UrlDecode(bestFriendlyNoScheme) == rawUrlWithHost
|| bestFriendlyNoScheme == rawUrlWithHostNoScheme
|| bestFriendlyNoScheme == HttpUtility.UrlDecode(requestedPathNoScheme)
|| HttpUtility.UrlDecode(bestFriendlyNoScheme) == HttpUtility.UrlDecode(requestedPathNoScheme)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
<Compile Include="Entities\Portals\PortalSettingsTests.cs" />
<Compile Include="Entities\Tabs\TabControllerTests.cs" />
<Compile Include="Entities\Tabs\TabChangeTrackerTests.cs" />
<Compile Include="Entities\Urls\AdvancedUrlRewriterTests.cs" />
<Compile Include="Entities\Urls\FriendlyUrlControllerTests.cs" />
<Compile Include="Framework\ServicesFrameworkTests.cs" />
<Compile Include="Framework\JavaScriptLibraries\JavaScriptTests.cs" />
Expand Down
Loading

0 comments on commit b2452bb

Please sign in to comment.