Fixed issue where redirecting old-style URIs (/uri/?uri=...) didn't work.