Add support for relative path redirects.