mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Allow & and | in local part of email addresses - #22995
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8447 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
07829b38a1
commit
274bd147ca
2 changed files with 2 additions and 1 deletions
|
@ -139,6 +139,7 @@
|
||||||
<li>[Fix] Display "empty password error" within the login box instead of issuing a general error (Bug #22525)</li>
|
<li>[Fix] Display "empty password error" within the login box instead of issuing a general error (Bug #22525)</li>
|
||||||
<li>[Fix] Clean up who is online code in page_header (Bug #22715, thanks HighwayofLife)</li>
|
<li>[Fix] Clean up who is online code in page_header (Bug #22715, thanks HighwayofLife)</li>
|
||||||
<li>[Fix] Pertain select single link on memberlist (Bug #23235 - patch provided by Schumi)</li>
|
<li>[Fix] Pertain select single link on memberlist (Bug #23235 - patch provided by Schumi)</li>
|
||||||
|
<li>[Fix] Allow & and | in local part of email addresses (Bug #22995)</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -2771,7 +2771,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':
|
||||||
|
|
Loading…
Add table
Reference in a new issue