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
/foo/bar is different to /foo/bar/ when the actual resource being served is not/foo/bar but rather /foo/bar/Index.cshtml.
We should try to ensure that the trailing slash is injected in cases where we generate or interpret URLs when we know it will server a default document, e.g. return Redirect("~/customers") where there is a ~/customers/Index.cshtml
/foo/baris different to/foo/bar/when the actual resource being served is not/foo/barbut rather/foo/bar/Index.cshtml.We should try to ensure that the trailing slash is injected in cases where we generate or interpret URLs when we know it will server a default document, e.g.
return Redirect("~/customers")where there is a~/customers/Index.cshtmlRelated to #5921