I've created MVC2 based solution in VS2010 using standard template. Site.Master is cleaned a bit, here is how HomeController looks like:
namespace MvcApplication1.Controllers
{
[HandleError]
public class HomeController : Controller
{
public ActionResult Index()
{
return RedirectToAction("About");
}
public ActionResult About()
{
return View();
}
}
}
So it simply redirects to About action any time somebody hits Index action. And here I see strange behavior, when I open http://localhost/ (or http://localhost/HomeIndex) first time here is what firebug shows - note that "About" page is duplicated. Can anybody explain why it's happening, it looks like a bug for me.
Screenshot with firebug after redirect
Upd: It looks ok in Fiddler, this is a bug in Firebug. Thank you for answers.