[Typo3] Dmail: jumpurl errors

Norbert Desautels ndesautels at gdgsystems.com
Sun May 29 20:51:25 CEST 2005


Hi Darryl				

Add the following line in your "tslib/class.tslib_fe.php" file after line 1827:
$this->jumpurl = str_replace('&', '&', $this->jumpurl);

Should now read:
$this->jumpurl = str_replace('###SYS_TABLE_NAME###', $tableNameChar, $this->jumpurl);
$this->jumpurl = str_replace('###SYS_MAIL_ID###', $mid, $this->jumpurl);
$this->jumpurl = str_replace('###SYS_AUTHCODE###', $authCode, $this->jumpurl);
//THIS IS THE NEW LINE
$this->jumpurl = str_replace('&', '&', $this->jumpurl);

You could also adjust the "class.mod_web_dmail.php" file the same for the display in the statistic around line 1916.

Hope this help.


- Norbert 

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110123005/
					
> Hi list
> 
> I have search the lists and the documentation but not found a solution to this
> issue.
> 
> I have Direct Mail (dmail) set up and working OK but recently became aware of
> some problems.
> 
> The plain text e-mails have links like this:
> http://domain.com/?RDCT=7206eab7046e0cb202a6
> 
> The HTML e-mails have links like this:
> http://misjon.info/?id=590&rid=t_2&mid=45&jumpurl=3
> 
> That in itself is not the problem. But what happens when these links are
> followed?
> 
> The plain text version's RDCT links lead to (for example):
> http://site.com/page.php?mtid=1&elid=568
> 
> While the HTML version's jumpurl links end up with (same example):
> http://site.com/page.php?mtid=1&elid=568
> 
> The problem is that the links in the HTML e-mails (handled by jumpurl) will
> substitute any ampersands (&) with the HTML code (&) which is resulting in
> errors.
> 
> Any input appreciated!
> 
> Regards
> - Darryl Krause
> 
> -----------------------
> The mailing list archive is found here:
> http://typo3.org/documentation/mailing-lists/english-main-list-archive/
> 
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 



More information about the TYPO3-english mailing list