Fixed problem when user enter url with https