- Patch #265899 by mfb: uri_brief mail token did not support https URLs.
--- modules/user/user.module 2008/08/12 05:11:22 1.892.2.6
+++ modules/user/user.module 2008/08/17 10:49:02 1.892.2.7
@@ -2064,7 +2064,7 @@
'!site' => variable_get('site_name', 'Drupal'),
'!login_url' => user_pass_reset_url($account),
'!uri' => $base_url,
- '!uri_brief' => substr($base_url, strlen('http://')),
+ '!uri_brief' => preg_replace('!^https?://!', '', $base_url),
'!mailto' => $account->mail,
'!date' => format_date(time(), 'medium', '', NULL, $language->language),
'!login_uri' => url('user', array('absolute' => TRUE, 'language' => $language)),