Sorry guys/girls.

I lie, it only works when you send directly to, but it is still not work
for forwarding.

I am still lost on this.

Thanks,

Vinh


> Nice work. Thank you.
>
> And now I can moving forward with squirrelmail version 1.4.1.
>
> Squirrelmail users group are the best.
>
> Vinh

>>>> I believe this has been fixed in CVS already.
>>>
>>> If it is fixed i'll be real happy.. Most of my attachments come
>>> with spaces or are qp encoded in their filenames..
>>
>> The fix is:
>> --- src/download.php    18 Jun 2003 22:22:19 -0000      1.109
>> +++ src/download.php    1 Sep 2003 01:14:09 -0000       1.110
>> @@ -166,7 +166,8 @@
>>          $filename =
>>              $languages[$squirrelmail_language]['XTRA_CODE']('downloadfilename',
>> $filename, $HTTP_USER_AGENT);
>>      } else {
>> -       $filename = ereg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
>> +//     $filename = ereg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
>> +       $filename = ereg_replace('[\\/:\*\?"<>\|;]', '_',
>> str_replace(' ', ' ', $filename));
>>      }
>>
>>      // A Pox on Microsoft and it's Office!
>> (
>>
>> As you can see, it's only a matter of replacing one line with another.
>> If/when we have positive feedback from users who have spaces, single
>> quotes and/or 8bit chars in attachment names, and there is no
>> side-effect
>> or security issue raised by this, then it should be backported to stable
>> since it probably bugs many people.
>>
>> Alex.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to