]> git.donarmstrong.com Git - roundcube.git/commitdiff
RFC 5321, section 4.5.3.1, asks to not impose any limits on length if
authorVincent Bernat <bernat@debian.org>
Fri, 5 Feb 2010 18:51:29 +0000 (18:51 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 18:35:39 +0000 (20:35 +0200)
possible. We respect this by dropping limitation of the local-part of
an email address. Closes: #568360, #568537.

debian/changelog
debian/patches/dont-limit-email-local-part.patch [new file with mode: 0644]
debian/patches/series

index a2016d47ed7b72103ebaf44d7ea48d20d906b4e8..198c8650d7c2b1d4fb06e47033aa2870d990f34d 100644 (file)
@@ -1,3 +1,11 @@
+roundcube (0.3.1-3) UNRELEASED; urgency=low
+
+  * RFC 5321, section 4.5.3.1, asks to not impose any limits on length if
+    possible. We respect this by dropping limitation of the local-part of
+    an email address. Closes: #568360, #568537.
+
+ -- Vincent Bernat <bernat@debian.org>  Fri, 05 Feb 2010 19:50:51 +0100
+
 roundcube (0.3.1-2) unstable; urgency=low
 
   * Fix VCS links in debian/control, thanks to Torsten Landschoff.
diff --git a/debian/patches/dont-limit-email-local-part.patch b/debian/patches/dont-limit-email-local-part.patch
new file mode 100644 (file)
index 0000000..c9852aa
--- /dev/null
@@ -0,0 +1,12 @@
+To fix #568360 and #568537, don't limit local part size.
+--- roundcube-0.3.1/program/include/main.inc~  2009-10-31 14:44:19.751802878 +0100
++++ roundcube-0.3.1/program/include/main.inc   2010-02-05 19:46:12.000000000 +0100
+@@ -1427,7 +1427,7 @@
+     return false;
+   // Check that there's one @ symbol, and that the lengths are right
+-  if (!preg_match('/^([^@]{1,64})@([^@]{1,255})$/', $email, $email_array))
++  if (!preg_match('/^([^@]+)@([^@]{1,255})$/', $email, $email_array))
+     return false;
+   // Check local part
index 7b7b57cd76198413e8d8cd7544cf2017de60eedf..a8f436fe6d6d902201227fc61cfdcfab350e95ab 100644 (file)
@@ -6,3 +6,4 @@ use_pspell.patch
 loginbox-size.patch
 changeset_r3170.patch
 changeset_r3202.patch
+dont-limit-email-local-part.patch