remove encoding on redirect