tbrehm
2011-11-14 daa532ddc1b90e119d4dc0ab797b514dcdc56c22
Fixed: FS#1681 - Out-of-Office too early
Fixed: FS#1801 - german specialchars making trouble in logs
4 files modified
13 ■■■■■ changed files
server/conf/sieve_filter.master 2 ●●● patch | view | raw | blame | history
server/lib/classes/monitor_tools.inc.php 3 ●●●●● patch | view | raw | blame | history
server/mods-available/monitor_core_module.inc.php 6 ●●●●● patch | view | raw | blame | history
server/plugins-available/maildeliver_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
server/conf/sieve_filter.master
@@ -30,7 +30,7 @@
  stop;
}
if allof(currentdate :value "ge" "date" "<tmpl_var name='start_date'>", currentdate :value "le" "date" "<tmpl_var name='end_date'>") {
if allof(currentdate :value "ge" "iso8601" "<tmpl_var name='start_date'>", currentdate :value "le" "iso8601" "<tmpl_var name='end_date'>") {
vacation  :days 1
  :subject "Out of office reply"
  <tmpl_var name='addresses'>
server/lib/classes/monitor_tools.inc.php
@@ -887,9 +887,6 @@
            $state = 'no_state';
            $data['output'] = '';
        }
        //* Encode data
        $data['output'] = htmlentities($data['output']);
        /*
         * Return the Result
server/mods-available/monitor_core_module.inc.php
@@ -406,6 +406,9 @@
         * First we get the Monitoring-data from the tools
         */
        $res = $this->_tools->monitorSystemUpdate();
        //* Ensure that output is encoded so that it does not break the serialize
        $res['data']['output'] = htmlentities($res['data']['output']);
        /*
         * Insert the data into the database
@@ -692,6 +695,9 @@
         * First we get the Monitoring-data from the tools
         */
        $res = $this->_tools->monitorISPCCronLog();
        //* Ensure that output is encoded so that it does not break the serialize
        $res['data']['output'] = htmlentities($res['data']['output']);
        /*
         * Insert the data into the database
server/plugins-available/maildeliver_plugin.inc.php
@@ -114,9 +114,11 @@
            $tpl->setVar('move_junk',$data["new"]["move_junk"]);
            // Set autoresponder start date
            $data["new"]["autoresponder_start_date"] = str_replace (" ", "T", $data["new"]["autoresponder_start_date"]);
            $tpl->setVar('start_date',$data["new"]["autoresponder_start_date"]);
            // Set autoresponder end date
            $data["new"]["autoresponder_end_date"] = str_replace (" ", "T", $data["new"]["autoresponder_end_date"]);
            $tpl->setVar('end_date',$data["new"]["autoresponder_end_date"]);
            // Autoresponder