Fix name in error emission

InvalidRedirectLocation -> InvalidRedirect