Newsletter Builder - Extra dot in URL string

By Ryan - January 20, 2016 - edited: January 20, 2016

Hi All,

Getting a strange issue with Newsletter Builder were my confirmation emails have double dots in the URL string. The extra dot is causing 404 errors and users are unable to confirm signup.

http://www.mydomain.ie/nl-manage-subscribers..php?n=778&a=6be4e6ea8049

http://www.mydomain..ie/nl-manage-subscribers.php

I've checked newsletterBuilder.php

// define placeholders - values defined lower in the list can use placeholder defined above them in the list
  // internal placeholders (undocumented)
  $placeholders['manage_url']      = $newsletterSettings['manage_url'];

  // public placeholders - values defined lower in the list can use placeholder defined above them in the list
  $placeholders['email_header']    = ''; // placeholder removed in v2.03 - remove the placeholder if it's left in old newsletter content
  $placeholders['email_footer']    = ''; // placeholder removed in v2.03 - remove the placeholder if it's left in old newsletter content
  $placeholders['hostname']        = coalesce( @parse_url($GLOBALS['SETTINGS']['adminUrl'], PHP_URL_HOST), 'PROGRAM_URL_NOT_SET' );
  $placeholders['from_name']       = $newsletterSettings['from_name'];
  $placeholders['from_email']      = $newsletterSettings['from_email'];
  $placeholders['to_email']        = $to_email;
  $placeholders['archive_url']     = $newsletterSettings['archive_url'];
  $placeholders['confirm_url']     = $newsletterSettings['manage_url'] . "?n=$subscriberNum&a=$subscriberAuthkey";
  $placeholders['unsubscribe_url'] = $newsletterSettings['manage_url'] . "?n=$subscriberNum&a=$subscriberAuthkey&m=$messageNum&u=1"; // if usernum(n) isn't specified user will just

I checked the values in the DB and the extra dot does not appear in there either.

Anyone any ideas on what's causing this?


CMSB Version 2.62
Newsletter Builder Version: 3.01