fixed redirect issues when the Location in header is relative url