A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dotnet/aspnetcore/issues/4445 below:

FromRoute only partially decodes certain values · Issue #4445 · dotnet/aspnetcore · GitHub

The problem I’m having is that we have a code that looks like this:

[FromRoute(Name = "event_name")]
public string EventName
{
    get
    {                
        return _eventName;
    }

The following URL gets passed to it:
something.com/events/0008%20-%2012%2F3%2F2018Existe%20um%20inventario%20incompleto%2C%20deseja%20continar%20%3F%20(Sim)

Is there a workaround for that?

<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />

#region Assembly Microsoft.AspNetCore.Mvc.Core, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// .nuget\packages\microsoft.aspnetcore.mvc.core\2.1.3\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll
#endregion

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4