The problem:

Have an inline internal link in the message body with some query arguments separated by ampersand. It's important that this link is considered internal, otherwise the bug is not reproducible.

In the final email body, all the ampersands get encoded to special entity and the link just doesn't work when clicked from an email. Like this
/my-page?accept_terms=0&authorisation=0&bank_transfer=0

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

meramo created an issue. See original summary.

meramo’s picture

Issue summary: View changes
meramo’s picture

The proposed patch fixes the issue and fills the $options['query'] array with correct values from arguments.

DamienMcKenna’s picture

Status: Active » Needs review

That's an interesting issue! Thanks for the patch.

PS, don't forget to set the issue to "needs review" when you upload a patch!

  • sgabe committed c614dcf on 8.x-1.x authored by meramo
    Issue #2792471 by meramo: Internal links with query arguments in message...
sgabe’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.