'fix fatal error on links with different protocols

other than https or http