PATH_AUTO does not check getHost() and getScheme()