Skip to content

Commit

Permalink
Merge pull request mautic#7616 from kfrankie/kfrankie-plus-sign-bug
Browse files Browse the repository at this point in the history
Fix for [Send a webhook] when customer fields have plus (+) character and it's not properly encoded
  • Loading branch information
dennisameling authored Mar 18, 2020
2 parents 0f56bab + 69f45c5 commit 85f8db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bundles/WebhookBundle/Helper/CampaignHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private function getTokenValues(array $rawTokens, Lead $contact)
$contactValues = $this->getContactValues($contact);

foreach ($rawTokens as $key => $value) {
$values[$key] = urldecode(TokenHelper::findLeadTokens($value, $contactValues, true));
$values[$key] = rawurldecode(TokenHelper::findLeadTokens($value, $contactValues, true));
}

return $values;
Expand Down

0 comments on commit 85f8db3

Please sign in to comment.