NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||24-08-17 07:57 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005786||phplist application||All Other||public||21-03-06 00:15||18-02-08 14:08|
|Target Version||2.10.7||Fixed in Version||2.10.5|
|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 [^]|
|Tags||No tags attached.|
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?
|Copyright © 2000 - 2017 MantisBT Team|