Identify exceptions due to illegal URLS (that tend to happen when redirecting to a relative URL)