Fixed index redirect escaping