Changeset 82c98e6 in github


Ignore:
Timestamp:
Feb 25, 2010 8:59:02 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
3d0ec76
Parents:
e62346c
Message:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r64608bf r82c98e6  
    22=========================== 
    33 
     4- Fix Received headers to behave better with SpamAssassin (#1486513) 
    45- Password: Make passwords encoding consistent with core, add 'password_charset' global option (#1486473) 
    56- Fix adding contacts SQL error on mysql (#1486459) 
  • program/steps/mail/sendmail.inc

    r91790e4 r82c98e6  
    261261    } else { 
    262262      $http_header .= (($host != $hostname) ? $hostname : '[' . $host . ']'); 
    263       $http_header .= ' ('. ($host == $hostname ? '' : $hostname . ' ') . 
    264         '[' . $host .'])'; 
     263      if ($host != $hostname) 
     264        $http_header .= ' (['. $host .'])'; 
    265265    } 
    266266    $http_header .= $nldlm . ' via '; 
     
    274274  } else { 
    275275    $http_header .= (($host != $hostname) ? $hostname : '[' . $host . ']'); 
    276     $http_header .= ' ('. ($host == $hostname ? '' : $hostname . ' ') . 
    277       '[' . $host .'])'; 
     276    if ($host != $hostname) 
     277      $http_header .= ' (['. $host .'])'; 
    278278  } 
    279279  // BY 
    280280  $http_header .= $nldlm . 'by ' . $_SERVER['HTTP_HOST']; 
    281281  // WITH 
    282   $http_header .= $nldlm . 'with ' . $_SERVER['SERVER_PROTOCOL'] . 
    283       ' ('.$_SERVER['REQUEST_METHOD'] . '); ' . date('r'); 
     282  $http_header .= $nldlm . 'with HTTP (' . $_SERVER['SERVER_PROTOCOL'] . 
     283      ' '.$_SERVER['REQUEST_METHOD'] . '); ' . date('r'); 
    284284  $http_header = wordwrap($http_header, 69, $nldlm); 
    285285 
Note: See TracChangeset for help on using the changeset viewer.