Skip to content

Commit

Permalink
#3192 Fixed an issue with non-ASCII chars in URL
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshelev committed Jul 27, 2018
1 parent bba7950 commit b16776c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public static IMvcBuilder AddNopMvc(this IServiceCollection services)
public static void AddNopRedirectResultExecutor(this IServiceCollection services)
{
//we use custom redirect executor as a workaround to allow using non-ASCII characters in redirect URLs
services.AddSingleton<RedirectResultExecutor, NopRedirectResultExecutor>();
services.AddSingleton<IActionResultExecutor<RedirectResult>, NopRedirectResultExecutor>();
}

/// <summary>
Expand Down

0 comments on commit b16776c

Please sign in to comment.