fix sharing plugin - http vs. https