fix the proxied URL (it must be absolute)