1. Found that newsletter_functions.php and
newsletter_display.php are using $nuke_url global
variable which is null (that makes subscribers to receive
a URL like /mod.php?
mod=newsletter&op=confirm&lid=1&email=new_subscrib
er@somedomain.com&code=....
instead correct
http://some.site.com/mod.php?
mod=newsletter&op=confirm&lid=1&email=new_subscrib
er@somedomain.com&code=....
Replaced all occurences of $nuke_url with global
$phpws_url and now it's ok
2. Found that every newsletter name gets a ' (simple
quote) appended. The reason is the ereg clean code
found in newsletter_admin.php (both nl_AddData and
nl_EditData functions):
[...]
$name = ereg_replace("\\'", "┤", $name);
$name = ereg_replace("'", "┤", $name);
[...]
Replaced this two lines with
$name = ereg_replace( "['\"\]", "", $name );
which cleans out every quotes (both " and ' ). Found this
hint on http://www.php.net/ereg_replace page.
Hope this helps.
Regards,
Silviu Petrescu
petrescs@yahoo.com