FIX: Ensure https works as well as http when editing