systopia / CiviProxy

A security proxy for CiviCRM
GNU Affero General Public License v3.0
7 stars 18 forks source link

Mailing URLS with additional parameters #69

Open jaapjansma opened 7 months ago

jaapjansma commented 7 months ago

In my mailing I have the following url: https://my-site.org/form?cid={contact.id}&{contact.checksum}

By default this url is replaced to https://my-site.org/civicrm/mailing/url?u=2&qid=3&cid=..&cs=...

Civi Proxy then translate this to: `https://proxy.my-site.org/url.php?u=2&qid=3&cid=...&cs=...

Expected results

Opening the CiviProxy url would lead to https://my-site.org/form?cid=...&cs=...

Actual results

Opening the CiviProxy url leads to https://my-site.org/form

Which is without the cid and the cs parameter.

Possible cause

CiviProxy does reomve the additional query parameters (such as cid and cs)