diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-01 04:47:22 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-01 04:47:22 +0800 |
commit | 74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f (patch) | |
tree | f5e9984c37b0ab63bde0476ab5a119016b560c78 /mail/mail-ops.c | |
parent | e7255c4c78f45c25b736558fb511615ab47edc69 (diff) | |
download | gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.gz gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.bz2 gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.lz gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.xz gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.zst gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.zip |
Initialize the "urls" hash table stored on the message and store cid and
* mail-format.c (mail_format_mime_message): Initialize the "urls"
hash table stored on the message and store cid and other URLs
there rather than as object data on the message.
(get_cid): rewrite this a bunch
(handle_text_enriched): move the code from write_iframe_string()
into here, since it's the only place that actually needs it.
(handle_text_html): simplify this a lot. We can use a cid: URL
here rather than x-evolution-data.
(get_url_for_icon): New routine to return URLs for icons, and
cache the results, so we don't have to keep re-reading the icon
files (and so we can't be spoofed into reading non-icon files).
(handle_mystery, handle_audio): use get_url_for_icon.
* mail-display.c (save_data): move the CamelMimePart filename
extracting code from get_cid to here.
(on_link_clicked, on_object_requested): Update for cid: changes.
(on_url_requested): Kill off the kludgy, exploitable x-gnome-icon
URL schema, update cid and x-evolution-data to match
mail-format.c.
It should now be easier to implement RFC 2557 (Content-Location,
etc), but that RFC still pretty much sucks.
svn path=/trunk/; revision=3314
Diffstat (limited to 'mail/mail-ops.c')
0 files changed, 0 insertions, 0 deletions