From f388c2d96e3ac59390f134a2b69a15589e8870b0 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 29 Mar 2006 17:56:03 +0000 Subject: [PATCH] #1362 - Url shortening error on local URL's git-svn-id: file:///svn/phpbb/trunk@5758 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2f73a5c27b..da93b4e403 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1795,7 +1795,7 @@ function make_clickable($text, $server_url = false) // Be sure to not let the matches cross over. ;) // relative urls for this board - $magic_url_match[] = '#(^|[\n ]|\()(' . preg_quote($server_url, '#') . ')/([^ \t\n\r<"\'\)&]+|&(?!lt;))*#i'; + $magic_url_match[] = '#(^|[\n ]|\()(' . preg_quote($server_url, '#') . ')/(([^ \t\n\r<"\'\)&]+|&(?!lt;))*)#i'; $magic_url_replace[] = '$1$3'; // matches a xxxx://aaaaa.bbb.cccc. ...