fix issue where stringByDeletingPathExtension removes the // from http://