Join GitHub today
Mantis 17649 Click tracking decoding urlencoded characters #407
This is a quick fix for Mantis 17649 https://mantis.phplist.org/view.php?id=17649
The problem is that, when trying to remove some specific query parameters from a url, the url can get changed or corrupted. The current processing breaks a url into its constituent parts then reassembles those, even when there is no need for that.
This change is simply to leave alone urls that do not contain any of the disallowed parameters.
A better, but larger, solution is to rework and simplify the processing of urls for link tracking.