fix for URL shortner to correctly handle "https://"