wilde: server/php-kolab/Kolab_Filter/Filter Content.php,1.7,1.8

cvs at kolab.org cvs at kolab.org
Wed Feb 13 17:28:29 CET 2008


Author: wilde

Update of /kolabrepository/server/php-kolab/Kolab_Filter/Filter
In directory doto:/tmp/cvs-serv16990/php-kolab/Kolab_Filter/Filter

Modified Files:
	Content.php 
Log Message:
Fixed handling of empty sender address 
(caused vacation messages to be marked untrusted).
kolab/issue1272


Index: Content.php
===================================================================
RCS file: /kolabrepository/server/php-kolab/Kolab_Filter/Filter/Content.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Content.php	12 Feb 2008 07:39:12 -0000	1.7
+++ Content.php	13 Feb 2008 16:28:27 -0000	1.8
@@ -436,6 +436,10 @@
         $local_addr = '127.0.0.1';
     }
 
+    if (empty($client_addr)) {
+        $client_addr = $local_addr;
+    }
+
     if (isset($conf['filter']['verify_subdomains'])) {
         $verify_subdomains = $conf['filter']['verify_subdomains'];
     } else {





More information about the commits mailing list