Universal behavior of optimal paths in weighted networks with general disorder.