Changeset 1734 in subversion


Ignore:
Timestamp:
Sep 5, 2008 3:05:29 AM (5 years ago)
Author:
alec
Message:

-fixed r1733 change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/Mail/mimePart.php

    r1733 r1734  
    398398        // value needs encoding if contains non-ASCII chars or is longer than 78 chars 
    399399 
    400         if (preg_match('#[\x20-\x7E]#', $value)) { // ASCII 
     400        if (!preg_match('#[^\x20-\x7E]#', $value)) { // ASCII 
    401401            $quoted = addcslashes($value, '\\"'); 
    402402            if (strlen($name) + strlen($quoted) + 6 <= $maxLength) 
Note: See TracChangeset for help on using the changeset viewer.