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.

CommentFileSizeAuthor
#1 enews-mailer-tokens-1293824.patch807 bytesAaronBauman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AaronBauman’s picture

Status: Active » Needs review
FileSize
807 bytes

OK, 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.

apaderno’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.