[Zope] WorldPilot - Attachments and quotes within the subject
Bryan Stillwell
arcane@verinet.com
Fri, 9 Jun 2000 16:43:42 -0600 (MDT)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1865677322-1752021210-960590622=:17579
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 9 Jun 2000, Paul Gresham wrote:
> Excellent, thanks Bryan. I have another question? Do you have problems with
> browsers not obtaining the correct filenames of attachments when they are
> downloaded, i.e. the file becomes ATT0002.DAT or similar? I have this
> problem and also if I choose to download a file and then cancel the dialog,
> everything seems to get stuck, and I have to close the browser and start
> again.
Yeah, I have that same problem! I'll have to take a look at it here soon.
I've attached another patch that you might find useful. It appears that
WorldPilot barfs if the subject contains a quotation mark in it, but this
patch fixes it. Also if you would like to try out the rpm and srpm I've
been working on for WorldPilot you can check them out here:
http://www.verinet.com/~arcane/worldpilot/worldpilot-1.0.4-6.noarch.rpm
http://www.verinet.com/~arcane/worldpilot/worldpilot-1.0.4-6.src.rpm
The only thing you'll have to change is the DOMAIN.py file. Both of the
patches I've done so far have been included. :)
Note: These are experimental RPMs, so you might want to not install them
on a mission critical server right away. I personally haven't had any
problems, but you never know... The only thing I'm worried about is what
happens if you try to install the rpm over a previous installation from a
tarball. (Should work though) You'll also have to restart Zope.
Bryan
---1865677322-1752021210-960590622=:17579
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="bryan_quotes_in_sub.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.10006091643420.17579@bamboo.verinet.com>
Content-Description:
Content-Disposition: attachment; filename="bryan_quotes_in_sub.patch"
LS0tIFdvcmxkUGlsb3Qub3JpZy9XUFV0aWwucHkJTW9uIEphbiAzMSAxNDo1
Mjo1NCAyMDAwDQorKysgV29ybGRQaWxvdC5taW5lL1dQVXRpbC5weQlGcmkg
SnVuICA5IDE2OjA0OjQxIDIwMDANCkBAIC05MCw2ICs5MCw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gICAgaWYgbToNCisgICAgICAgICAgICAgICAgICAgICMgQlM6IElNQVAg
cmV0dXJucyBxdW90ZXMgYmFja3NsYXNoZWQsIHNvIHdlIG11c3QNCisgICAg
ICAgICAgICAgICAgICAgICMgcmVtb3ZlIHRoZSBiYWNrc2xhc2ggaGVyZS4N
CisgICAgICAgICAgICAgICAgICAgIGN1cl9zdHJpbmcgPSBtLmdyb3VwKCdT
dHJpbmcnKQ0KKyAgICAgICAgICAgICAgICAgICAgY3VyX3N0cmluZyA9IHJl
Z3N1Yi5nc3ViKHInXFwiJywgJyInLCBjdXJfc3RyaW5nKQ0KKyAgICAgICAg
ICAgICAgICAgICAgYy5hcHBlbmQoY3VyX3N0cmluZykNCisgICAgICAgICAg
ICAgICAgICAgIGxpbmU9bS5ncm91cCgnUmVzdCcpDQorICAgICAgICAgICAg
ICAgICAgICBjb250aW51ZQ0KICAgICAgICAgICAgICAgICBtPUxpc3RPcGVu
Lm1hdGNoKGxpbmUpDQ0KICAgICAgICAgICAgICAgICBpZiBtOg0NCiAgICAg
ICAgICAgICAgICAgICAgIG49W10NDQo=
---1865677322-1752021210-960590622=:17579--