diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-06-15 06:24:59 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-06-15 06:24:59 +0800 |
commit | b1359d0e45c7ec9df723b712bdf4108aa042f553 (patch) | |
tree | cfe2f0a3180b42b0b0064de7e8fa0f2a9d8900ea /tests/test10.c | |
parent | 1fb67eaca4790ba3e92e42dd5d93536aa4206b70 (diff) | |
download | gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.tar gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.tar.gz gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.tar.bz2 gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.tar.lz gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.tar.xz gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.tar.zst gsoc2013-evolution-b1359d0e45c7ec9df723b712bdf4108aa042f553.zip |
Properly handle correct and incorrect (for the common case, ie Outlook and
2001-05-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_decode_param): Properly handle
correct and incorrect (for the common case, ie Outlook and
Netscape/Mozilla) rfc2184 values.
(header_decode_rfc2184_param): Get the param name and see if we
should expect a rfc2184 parameter value.
(rfc2184_decode): Decode a rfc2184 value.
(hex_decode): hex decode a string.
(header_decode_param_list): Handle rfc2184 encoded parameters (ie
parameters that have been split and perhaps encoded).
(header_param_list_format_append): Encode the value before seeing
if it will fit on the line. If the value does get encoded, be sure
to put a '*' before the equal-sign.
(header_encode_param): New function to rfc2184 encode a parameter
value (maybe it should be renamed?)
apparently with my last commit, I had also commit'd this but didn't realise it.
svn path=/trunk/; revision=10241
Diffstat (limited to 'tests/test10.c')
0 files changed, 0 insertions, 0 deletions