Fix for proxied URLs.