Changeset 5ec762a in github


Ignore:
Timestamp:
Sep 5, 2008 3:05:29 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c8a21d6
Parents:
e8a1b7e
Message:

-fixed r1733 change

File:
1 edited

Legend:

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

    re8a1b7e r5ec762a  
    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.