Fixed security issue with HTTPS sites.