title: Route of Controller works only on lowercase
body: <p>I have a controller, i removed all the data from it leaving a simple Index action with a parameterless view return. The thing is the following, i have a definition of my controller</p>
  
  <pre><code>[AuthorizeExtension]
  public class TasksController : Controller
  {
      private readonly ApplicationDbContext _db = new ApplicationDbContext( );
  
      public string CurrentUserId =&gt; User.Identity.GetUserId( );
  
      // GET: Tasks
      public ActionResult Index( )
      {
          var data = RouteTable.Routes.GetRouteData( HttpContext );
  
          return View(  );
      }
  }
  </code></pre>
  
  <p>Once upon a time i could access it by <strong>localhost/Tasks</strong> .Now if i try the same url, i get redirected to the login view (that's what <strong>authorizeExtension</strong> does if i'm not logged in) while i am logged in, but it does work on lower case accessing <strong>localhost/tasks</strong>, same goes for sub pages index,create,details etc. Other pages work while this one doesn't. I also tried duplicating it with a new controller with same views, it works, but if i do the following </p>
  
  <pre><code>[AuthorizeExtension]
  [RoutePrefix("Tasks")]
  public class EmptyController : Controller
  {
      private readonly ApplicationDbContext _db = new ApplicationDbContext( );
  
      public string CurrentUserId =&gt; User.Identity.GetUserId( );
  
      // GET: Tasks
      [Route("Index")]
      public ActionResult Index( )
      {
          var data = RouteTable.Routes.GetRouteData( HttpContext );
  
          return View( );
      }
  }
  </code></pre>
  
  <p>again i get redirected. I have attached a print screen within the <strong>authorizationExtensionm</strong> with the <strong>HttpContext.User</strong> I'm loosing my identity. <a href="https://i.stack.imgur.com/619dP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/619dP.jpg" alt="HttpContext.User"></a></p>