Fix canonical redirect when ':' in @id