Fixed Controller::referer() to let it output local urls