I suppose this line protects before replacing slashes urls starting with http://.