]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/dont-limit-email-local-part.patch
Imported Debian patch 0.5.2+dfsg-1
[roundcube.git] / debian / patches / dont-limit-email-local-part.patch
1 To fix #568360 and #568537, don't limit local part size.
2 Index: b/program/include/main.inc
3 ===================================================================
4 --- a/program/include/main.inc  2009-10-31 14:44:19.000000000 +0100
5 +++ b/program/include/main.inc  2010-07-17 17:33:25.000000000 +0200
6 @@ -1427,7 +1427,7 @@
7      return false;
8  
9    // Check that there's one @ symbol, and that the lengths are right
10 -  if (!preg_match('/^([^@]{1,64})@([^@]{1,255})$/', $email, $email_array))
11 +  if (!preg_match('/^([^@]+)@([^@]{1,255})$/', $email, $email_array))
12      return false;
13  
14    // Check local part