Readded redirect URL check.