largersmallernormaltext version of this page

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005786 [phplist] All Other minor always 21-03-06 00:15 18-02-08 14:08
Reporter IProto View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved   Product Version 2.10.2
Summary 0005786: System messages don't parse [DOMAIN] or [WEBSITE]
Description When a user puts [DOMAIN] or [WEBSITE] or www.mysite.com into a system message users will just get [DOMAIN] or [WEBSITE] in their e-mails. The problem appears to be that when the message is loaded into the edit textbox any instance of www.mysite.com will be translated into [DOMAIN] however when the information is saved it is not translated back. A suggested fix is posted here: http://www.phplist.com/forums/viewtopic.php?t=4925 [^]
Additional Information
Tags No tags attached.
Attached Files

- Relationships
related to 0003721closed phplist 2.10.x 

-  Notes
(0030813)
bas (developer)
21-08-07 18:28

I tested and can confirm this happens when you enter [DOMAIN] and use Save and Activate. Using other scenario's I could not reproduce this issue.

Replacing [DOMAIN] with the domain gets done in defaultconfig.getConfig. This function is only called when building the page, as we do after 'Save'ing the page. After an 'Activate' the page is only stored. defaultconfig.getUserConfig is used when sending mail.

Added parsing of [DOMAIN\] and [WEBSITE\] to getUserConfig.

Parsing should be done only in one place. So maybe Later: Combine getConfig and this one?


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker