HTTP > HTTPS redirect encoding fix

Fixed incorrect encoding of '=' when redirecting from http > https