summaryrefslogtreecommitdiff
path: root/security/mailzu/files/patch-lib_Quarantine.lib.php
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2018-11-24 10:12:21 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2018-11-24 10:12:21 +0000
commit27de8a3823090939959543d86449d533d3e47fe2 (patch)
treecb61dcb2a946396280eff7475ce535a1bb759e7e /security/mailzu/files/patch-lib_Quarantine.lib.php
parentUpdate to 2.5.11 (diff)
security/mailzu: Fix support for php 7.x
- Pass Maintainership to Submitter PR: 230712 Submitted by: Krzysztof <ports@bsdserwis.com> Sponsored by: Netzkommune GmbH Differential Revision: https://reviews.freebsd.org/D17946
Notes
Notes: svn path=/head/; revision=485752
Diffstat (limited to 'security/mailzu/files/patch-lib_Quarantine.lib.php')
-rw-r--r--security/mailzu/files/patch-lib_Quarantine.lib.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/mailzu/files/patch-lib_Quarantine.lib.php b/security/mailzu/files/patch-lib_Quarantine.lib.php
new file mode 100644
index 000000000000..e1b13bd7ddd0
--- /dev/null
+++ b/security/mailzu/files/patch-lib_Quarantine.lib.php
@@ -0,0 +1,20 @@
+--- lib/Quarantine.lib.php.orig 2007-06-14 19:00:15 UTC
++++ lib/Quarantine.lib.php
+@@ -65,7 +65,7 @@ function releaseMessages($emailaddresses
+ foreach ($mail_id_array as $mail_id_recip) {
+
+ // Get mail_id and recipient email address
+- $temp = preg_split('/_/', $mail_id_recip, 2);
++ $temp = preg_split('/__/', $mail_id_recip, 2);
+ $mail_id = $temp[0];
+ $recip_email = $temp[1];
+
+@@ -258,7 +258,7 @@ function updateMessages($flag, $content_
+ foreach ($mail_id_array as $mail_id_recip) {
+
+ // Get mail_id and recipient email address
+- $temp = preg_split('/_/', $mail_id_recip, 2);
++ $temp = preg_split('/__/', $mail_id_recip, 2);
+ $mail_id = $temp[0];
+ $recip_email = $temp[1];
+