Issue #14132: Fix redirect handling when target is just a query string
4 files changed