double '/' in link notification comments double '/' in link notification comments
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

double '/' in link notification comments

Started by coolhead, August 25, 2004, 05:27:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coolhead

When a user post a comment, i recive a notification. In the link (in the notification) to this comment have a error, for example:

http://www.domain.com//display......

to fix open 'db_input.php'
search all :
$mail_body = $msg_body . "\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'] . "/" . $redirect;

and replace for
$mail_body = $msg_body . "\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'] . $redirect;

Bruno

Casper

Are you using the latest 1.3.2 version.

This was fixed, along with other such '//' problems.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here