Fixed a Router bug.

- Redirecting to an absolute URL would put the browser
  into an indefinite redirect loop.