Fixed an issue with https prefixes on URLs.