Comment 30 for bug 515386

Revision history for this message
Saivann Carignan (oxmosys) wrote : Re: No attachment when thunderbird 3 is set as default client.

Micah Gersten : Urlencoding was here to protect the syntax. If we don't urlencode special characters, what happens if a filename contains a single quote ', a double quote " or a virgule , ? Ex. : thunderbird -compose "attachment='file:///file\,g'".

The result is that the whole syntax is broken, because thunderbird interpret the character while it should not. Therefore yes using a space without urlencoding works with TB3, but accepting this syntax means :

1. Accepting that some filenames won't work at all (which is a bug IMO).
2. Accepting that xdg-email will have no way to be both compatible with TB2 and TB3, therefore affecting all applications that might use xdg-email to send mails with attachments until TB3 gets into every distributions that uses it.