Redirect origin response modified by Netlify Proxy

This isn’t a bug. Netlify attempts to preserve the query parameters that were passed:

While that talks about 301/302, I think it applies to all 3xx redirects.

The CLI thing could be a bug and should be reported on the CLI repo.