avoid double trailing / on redirect to https