Tracker: Bugs

5 Incomplete attachment filename handling - ID: 679513
Last Update: Comment added ( stekkel )

When sending an attachment whose filename contains
special characters (such as äöå) using pine,
SquirrelMail is not able to decode the filename. Here's
how pine encodes the headers (name of the attachment
file is 'ääkkösiä.txt'):

Content-Type: TEXT/plain; name*="ISO-8859-1''%E4%
E4kk%F6si%E4.txt"
Content-ID:
<Pine.GSO.4.52.050204024252.19573@myhost.mydom
ain>
Content-Disposition: attachment; filename*="ISO-8859-
1''%E4%E4kk%F6si%E4.txt"

SquirrelMail isn't able to decode the headers, because
there's an asterisk (*) after the 'name' and 'filename'
attributes. Instead, the value of the Content-ID header is
shown as the filename, like this:

cid:
Pine.GSO.4.52.050204024252.19573@myhost.mydomai
n

This problem still exists with 1.4.0 RC2a.


Sami Leino ( slite2 ) - 2003-02-03 14:15

5

Closed

Fixed

Marc Groot Koerkamp

None

None

Public


Comments ( 7 )

Date: 2003-07-10 15:31
Sender: stekkelAccepting Donations

Logged In: YES
user_id=476981

the code is present in the 1.4.1 release.

Have a nice vacation :)


Date: 2003-07-10 13:19
Sender: slite2

Logged In: YES
user_id=396953

I tried to test the new version today, but CVS problems
prevented me from testing it. We tried the 1.4.1 release
though, but the problem still existed there. I presume that the
1.4.1 version does not yet contain the new attachment
filename handling procedure, which is only present in the
current CVS head? Am I correct?

Currently, CVS checkout seems to be extremely slow and it
hangs up every time when it reaches 'themes/css' directory.
The problem is that I head for a vacation tomorrow, and I
cannot be sure when I am online next time (I think I'm absent
for about 9 days). I think this issue is not a very critical one,
and it can wait. If not, I can ask my colleague to take a CVS
snapshot and test it.


Date: 2003-07-02 10:19
Sender: slite2

Logged In: YES
user_id=396953

I'm currently away from the office, so I can't test it right
now. I can perform the tests next week.


Date: 2003-06-28 20:20
Sender: stekkelAccepting Donations

Logged In: YES
user_id=476981

Okay, I need your help on this. I added support for rfc2184
but was unable to test it. Can you try to test the latest
devel snapshot available tomorrow (SF works with delayed
CVS) and check if it does what it supposed to do?



Date: 2003-02-03 15:43
Sender: stekkelAccepting Donations

Logged In: YES
user_id=476981

Aha, that's usefull information. Thnx.
I'll try to solve this issue.


Date: 2003-02-03 14:55
Sender: slite2

Logged In: YES
user_id=396953

See: http://www.cis.ohio-state.edu/cgi-
bin/rfc/rfc2184.html#sec-4


Date: 2003-02-03 14:34
Sender: stekkelAccepting Donations

Logged In: YES
user_id=476981

Why does pine add an * behind the filename and name?
AFAIK it's not how headers supposed to be.


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2003-06-29 14:03 stekkel
close_date - 2003-06-29 14:03 stekkel
resolution_id None 2003-06-28 20:21 stekkel
assigned_to nobody 2003-02-03 15:43 stekkel