NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||28-07-17 13:45 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007797||phplist application||Statistics||public||10-09-06 19:47||26-03-13 12:52|
|Target Version||2.11.8||Fixed in Version||2.11.8|
|Summary||0007797: <area links do not work with CLICKTRACK.|
I found the link track does not work with area links.
Please read my following post for more info, and "fixing" code.
Thanks for PHPlist!
|Tags||No tags attached.|
|related to http://forums.phplist.com/viewtopic.php?p=36971#p36971 [^]|
The problem still exists in 2.10.x and 2.11.7 releases.
The cause is the regular expression used to match a elements, line 454 of file admin/sendemaillib.php for release 2.11.7
The leading <a(.*) will match any element that begins with a, not just the a elements. In my case it was matching an area element and then the regex swallows everything up to the end of the next a element.
A solution is to match on white-space after the a
Tested and works.
yes, or maybe just one space:
but your tests, do they make the AREAs trackable, or is the issue that AREA links get broken, and this won't break them?
|this will avoid the regex matching <area, which means that tracking <area is still something to deal with.|
|Copyright © 2000 - 2017 MantisBT Team|