Re: [PATCH] Attachments in mailto: URLs



Am 2006.11.01 14:57 schrieb(en) Peter Bloomfield:
On 10/31/2006 11:06:24 PM Tue, Johan Brannlund wrote:
> I noticed when trying to mail pictures from f-spot that Balsa didn't
> include the attachments. A bit of digging revealed that the reason is
> that
> Balsa doesn't understand things like
> "mailto:helmut example com?attach=/tmp/strudel.jpg"
>
> I hacked up a small patch for this, included below. In case it suffers
> from whitespace damage, it's also available at
> http://nullinfinity.org/attach.patch .
>
> Regards,
>
> Johan

On reflection, implementing "attach=file" has some security implications.

Clicking "mailto:some-criminal some-offshore-address?attach=/etc/passwd"

on a random web page would probably be a bad idea.  Perhaps Balsa should

just pop up the attach-file dialog with the target file pre-selected, so

that the user has to verify that it's OK to send.

What if there is more than one attach handler? This can get very messy and annoying, can't it? I think it should be enough to see the attachments in the corresponding list.

As to removing Bcc and Cc: Why? But again Balsa should explicitly show these header fields if there are non-standard (from the identity) entries...

Comments?

Peter

cu
/Steffen

--
 /"\
 \ /  ASCII Ribbon Campaign    |  "The best way to predict
  X  * NO HTML/RTF in e-mail   | the future is to invent it."
 / \ * NO MSWord docs in e-mail|                -- Alan Kay

Attachment: pgpqjyqfOcm0U.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]