From dbc9e15c814ad2fc8a3fb10fbd1350d42b1f7f9c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 6 Oct 2008 14:41:47 +0000 Subject: Altered auto_link() in the URL helper so that email addresses with "+" included will be linked. --- system/helpers/url_helper.php | 2 +- user_guide/changelog.html | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php index 121b36b97..acf889007 100644 --- a/system/helpers/url_helper.php +++ b/system/helpers/url_helper.php @@ -400,7 +400,7 @@ if ( ! function_exists('auto_link')) if ($type != 'url') { - if (preg_match_all("/([a-zA-Z0-9_\.\-]+)@([a-zA-Z0-9\-]+)\.([a-zA-Z0-9\-\.]*)/i", $str, $matches)) + if (preg_match_all("/([a-zA-Z0-9_\.\-\+Å]+)@([a-zA-Z0-9\-]+)\.([a-zA-Z0-9\-\.]*)/i", $str, $matches)) { for ($i = 0; $i < sizeof($matches['0']); $i++) { diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 3bf065e2a..dfb11fbfc 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -77,27 +77,28 @@ SVN Revision: XXXX

  • Database
  • Helpers
  • Other changes
  • @@ -105,7 +106,7 @@ SVN Revision: XXXX

    Bug fixes for 1.7.0

    Version 1.6.3

    -- cgit v1.2.3-24-g4f1b