Thomas Bruederli
2013-01-31 873ae9e9de2aba0f22f3669b1e1519a439d97b5c
program/steps/mail/headers.inc
@@ -1,4 +1,5 @@
<?php
/*
 +-----------------------------------------------------------------------+
 | program/steps/mail/headers.inc                                        |
@@ -16,9 +17,6 @@
 +-----------------------------------------------------------------------+
 | Author: Aleksander Machniak <alec@alec.pl>                            |
 +-----------------------------------------------------------------------+
 $Id$
*/
if ($uid = get_input_value('_uid', RCUBE_INPUT_POST))
@@ -26,7 +24,8 @@
    $source = $RCMAIL->storage->get_raw_headers($uid);
    if ($source !== false) {
        $source = htmlspecialchars(trim($source));
        $source = trim(rcube_charset::clean($source));
        $source = htmlspecialchars($source);
        $source = preg_replace(
            array(
                '/\n[\t\s]+/',