summaryrefslogtreecommitdiff
path: root/modules/system/system.tokens.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.tokens.inc')
-rw-r--r--modules/system/system.tokens.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.tokens.inc b/modules/system/system.tokens.inc
index f57daf2da..6ce9971b1 100644
--- a/modules/system/system.tokens.inc
+++ b/modules/system/system.tokens.inc
@@ -165,7 +165,7 @@ function system_tokens($type, $tokens, array $data = array(), array $options = a
break;
case 'url-brief':
- $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options));
+ $replacements[$original] = preg_replace(array('!^https?://!', '!/$!'), '', url('<front>', $url_options));
break;
case 'login-url':