Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This issue came up when I tried to include a "forward to friend" link in a Vertical Response email.
The code from VR is like
<a href="{VR_F2AF_LINK}">forward to a friend</a>
so, when the href attribute gets emogrified and absolutified, the VR token gets totally busted, and we end up with
<a href="http://example.com/{VR_F2AF_LINK}">forward to a friend</a>
which doesn't work at all.
Enews should offer an escape sequence, and since VR uses curly braces (which are invalid URL characters), these are the obvious choice.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | enews-mailer-tokens-1293824.patch | 807 bytes | AaronBauman |
Comments
Comment #1
AaronBaumanOK, so these don't actually work like "tokens": if a curly-braced token is found in place of a URL (ie. as a href, src, etc. attribute) the token will just be ignored.
In other words, the curly braces will remain intact -- which are necessary to send to the mass mailer (VR) -- but the base url won't get pre-pended.
Comment #2
apadernoI am closing this issue, since it's for a Drupal version no longer supported.