filename in 'content-disposition' header have higher priority then filename in 'mime-type' header
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@86 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
50d051d2dc
commit
6063a8b0d5
@ -1,5 +1,5 @@
|
||||
{==============================================================================|
|
||||
| Project : Ararat Synapse | 002.007.007 |
|
||||
| Project : Ararat Synapse | 002.007.008 |
|
||||
|==============================================================================|
|
||||
| Content: MIME support procedures and functions |
|
||||
|==============================================================================|
|
||||
@ -843,7 +843,7 @@ begin
|
||||
if Pos('CONTENT-ID:', su) = 1 then
|
||||
FContentID := Trim(SeparateRight(s, ':'));
|
||||
end;
|
||||
if FFileName = '' then
|
||||
if fn <> '' then
|
||||
FFileName := fn;
|
||||
FFileName := InlineDecode(FFileName, FTargetCharset);
|
||||
FFileName := ExtractFileName(FFileName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user