phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005786phplist applicationAll Otherpublic21-03-06 00:1518-02-08 14:08
ReporterIProto 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.10.2 
Target Version2.10.7Fixed in Version2.10.5 
Summary0005786: System messages don't parse [DOMAIN] or [WEBSITE]
DescriptionWhen 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 [^]
TagsNo tags attached.
Attached Files

- Relationships
related to 0003721closed phplist 2.10.x 

-  Notes
(0030813)
user1822
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?


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker