Fix bug in Redirect helper. Added basic URL validation.