|
a/src/utils/mimeparse.cpp |
|
b/src/utils/mimeparse.cpp |
|
... |
|
... |
52 |
// syntax, only, parameters are not used. So we can parse all like:
|
52 |
// syntax, only, parameters are not used. So we can parse all like:
|
53 |
//
|
53 |
//
|
54 |
// headertype: value [; paramname=paramvalue] ...
|
54 |
// headertype: value [; paramname=paramvalue] ...
|
55 |
//
|
55 |
//
|
56 |
// Value and paramvalues can be quoted strings, and there can be
|
56 |
// Value and paramvalues can be quoted strings, and there can be
|
57 |
// comments too. Note that RFC2047 is explicitely forbidden for
|
57 |
// comments too. Note that RFC2047 is explicitly forbidden for
|
58 |
// parameter values (RFC2231 must be used), but I have seen it used
|
58 |
// parameter values (RFC2231 must be used), but I have seen it used
|
59 |
// anyway (ie: thunderbird 1.0)
|
59 |
// anyway (ie: thunderbird 1.0)
|
60 |
//
|
60 |
//
|
61 |
// Ref: RFC2045/6/7 (MIME) RFC2183/2231 (content-disposition and encodings)
|
61 |
// Ref: RFC2045/6/7 (MIME) RFC2183/2231 (content-disposition and encodings)
|
62 |
|
62 |
|