It would be nice to have access to a token that provides only the hostname of the external website, rather than the entire link. Consider the message: Are you sure you want to leave the site? The link you clicked will take you to http://www.example.com/foobar/baz/114555/235565656/1314415415.

Yes. Proceed to http://www.example.com/foobar/baz/114555/235565656/1314415415
No. Take me back.

CommentFileSizeAuthor
#1 2136113-1-external-url-host-token.patch1.52 KBjessehs

Comments

jessehs’s picture

Status: Active » Needs review
StatusFileSize
new1.52 KB

This patch adds the "external-host" token. Rolled against the 1.0-rc1 release, although it applies to 7.x-dev (offset 15 lines).

Edit:

Now the message can read:

The link you clicked will take you away from this site and send you to www.example.com.