handle other protocols and absolute urls