diff options
author | W. Trevor King <wking@drexel.edu> | 2009-10-20 09:38:17 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-10-20 09:38:17 -0400 |
commit | c80312557917015fcda9f7baa9e1acdce8ad9de7 (patch) | |
tree | a12410e78c028ce2b6cd1d880e860fb843e280c7 /libbe/properties.py | |
parent | a808d2f4f0d91c049da826480f9d0fe7f0848b1c (diff) | |
parent | 74864cbce9ded7764e05647d5433fc7c9958e22a (diff) | |
download | bugseverywhere-c80312557917015fcda9f7baa9e1acdce8ad9de7.tar.gz |
Merged my cleanup of Gianluca's HTML branch.
This fixes a bug in binary comments (non-"text/" content-types), where
the content-type wasn't being set until _after_ the save was
attempted. This led to errors for non-ascii bodies (e.g. images with
null characters).
Note that text/html comments are included as is, so make sure they are
formatted appropriately to fit into your tempate without creating
invalid code. This issue could be a real pain in the neck, especially
when including text/html email bodies, which might contain <body>
tags, etc.. Stupid email clients that don't send a text/plain
alternative...
Diffstat (limited to 'libbe/properties.py')
0 files changed, 0 insertions, 0 deletions