curl language redirect bug