Fixes an issue where URLs with https would be treated as an external URL