Bug fix for https absolute urls