mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Regular expression for email matching in posts will no longer die on long words
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8641 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -120,6 +120,7 @@
|
|||||||
<li>[Fix] Allow moving posts to invisible forums. (#27325)</li>
|
<li>[Fix] Allow moving posts to invisible forums. (#27325)</li>
|
||||||
<li>[Fix] Don't allow promoting unapproved group members (#16124)</li>
|
<li>[Fix] Don't allow promoting unapproved group members (#16124)</li>
|
||||||
<li>[Fix] Correctly fetch server name if using non-standard port (#27395)</li>
|
<li>[Fix] Correctly fetch server name if using non-standard port (#27395)</li>
|
||||||
|
<li>[Fix] Regular expression for email matching in posts will no longer die on long words.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
||||||
|
@@ -2777,7 +2777,7 @@ function get_preg_expression($mode)
|
|||||||
switch ($mode)
|
switch ($mode)
|
||||||
{
|
{
|
||||||
case 'email':
|
case 'email':
|
||||||
return '(?:[a-z0-9\'\.\-_\+\|]|&)+@[a-z0-9\-]+\.(?:[a-z0-9\-]+\.)*[a-z]+';
|
return '(?:[a-z0-9\'\.\-_\+\|]++|&)+@[a-z0-9\-]+\.(?:[a-z0-9\-]+\.)*[a-z]+';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'bbcode_htm':
|
case 'bbcode_htm':
|
||||||
|
Reference in New Issue
Block a user