mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
#1362 - Url shortening error on local URL's
git-svn-id: file:///svn/phpbb/trunk@5758 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cf9617bdb5
commit
f388c2d96e
1 changed files with 1 additions and 1 deletions
|
@ -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<!-- l --><a href="$2/$3">$3</a><!-- l -->';
|
||||
|
||||
// matches a xxxx://aaaaa.bbb.cccc. ...
|
||||
|
|
Loading…
Add table
Reference in a new issue