ASP.net MVC controller Action with string parameter doesn't get called
So, I have a controller Action with this signature
public ActionResult Details(string id) { ... }
and a route in my global asax file
routes.MapRoute(
"DevDetails",
"Dati/Device/Details/{id}",
new { controller = "Device", action = "Details", id = "" });
If and only if I request urls which id ends with '%20' the action controller doesn't get called.
a开发者_StackOverflow社区ny clues ?
精彩评论