3 ms·
It's not in the standard. I have no idea why several MTAs decided to implement this, and did so in an unsafe manner.
by Tepix 6y ago
It's not in the standard. I have no idea why several MTAs decided to implement this, and did so in an unsafe manner.
- floatingatoll 6y agohttps://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/177 https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/177 Wasn’t the MTAs, this time.
- jcranmer 6y agoImagine you're providing a desktop shell. You want to support a right-click "Send this file via email" option. This also happens for things like document editing where you want to send the current document as an email attachment. Now imagine you've decided the only portable way to marshal the information of what to send is to use an extension to the URI for mailto. This means you can no longer reliably figure out if the URI is "safe" (being generated by a program that wants to effect a "send this document") or "unsafe" (I clicked a link in my web browser). XDG chose to go down the stupid path. Windows opted to use MAPI, so MAPISendMail lets you attach files for the shell extensions.