You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
[Route("api")]
public class ValuesController : Controller
{
[HttpGet("{param}")]
public string Get(string param)
{
return param;
}
}
requests to this action which contain URI escape sequences (e.g. %20 for space) are carried through in the param value, rather than being escaped as they were in ASP.net 4; i.e. GET /api/a%20b assigns param the value "a%20b" instead of "a b"
The text was updated successfully, but these errors were encountered:
With a controller as below:
requests to this action which contain URI escape sequences (e.g.
%20
for space) are carried through in theparam
value, rather than being escaped as they were in ASP.net 4; i.e.GET /api/a%20b
assignsparam
the value"a%20b"
instead of"a b"
The text was updated successfully, but these errors were encountered: