change full_uri() to allow uri=="/"