Fix issue with external URLs that do not have a protocol (start with //)