I asked this question on asp.net forums and no one seems to know what I'm talking about. I'm not sure why this is so, but I thought I would ask here to see if there is anyone with understanding.
Back when MVC2 was released, it included a sample AccountController that hooked the built-in Membership and FormsAuthentication classes with tested interfaces and services. I read a lot about this, and it was considered a good thing, because the Membership and FormsAuthentication classes were not easy to verify.
I recently generated a new sample project with an updated environment (SP1, MVC3, Tools Update, etc.), and I found that AccountController is now much simpler. Passed through the interfaces and services of MembershipService and FormsAuthenticationServices. The sample now calls the Membership and FormsAuthentication classes directly.
I am wondering if anyone knows when this happened and why? Are the tested interfaces no longer considered correct? Was there a technical reason to change this?
The best thing I can understand is that it happened as part of a change to remove a possible vulnerability when passing a return URL to an open URL.
Any insight?
source share