Opened 4 years ago
Closed 4 years ago
#1485761 closed Bugs (fixed)
Incorrect format of Content-Type: and Content-Disposition:
| Reported by: | son.two | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2.1 |
| Component: | MIME parsing | Version: | 0.2-stable |
| Severity: | normal | Keywords: | |
| Cc: | son.two@… |
Description
I've got a mail sent by RoundCube Webmail/0.2 (User-Agent: RoundCube Webmail/0.2)
And it contains the following description for an attachment
Content-Type: application/msword; charset="UTF-8";
name*0*="UTF-8%D0%94%D0%BE%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8%D1%82%D0%B5%D0"
name*1*="%BB%D1%8C%D0%BD%D1%8B%D0%B9 %D0%B4%D0%BE%D0%B3%D0%BE%D0%B2%D0%BE"
name*2*="%D1%80.doc";
Content-Disposition: attachment;
filename*0*="UTF-8%D0%94%D0%BE%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8%D1%82%D0%B5"
filename*1*="%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9 %D0%B4%D0%BE%D0%B3%D0%BE%D0%B2"
filename*2*="%D0%BE%D1%80.doc";
AFAIK there should be ';' after every pair "name"="value".
Otherwise it is a malformed field.
Change History (1)
comment:1 Changed 4 years ago by alec
- Component changed from Core functionality to MIME parsing
- Milestone changed from later to 0.2.1
- Resolution set to fixed
- Status changed from new to closed

This has been fixed in [0ea8d3a0].