Open hackerb9 opened 7 years ago
This is actually intentional. URL decoding maps pluses to spaces. Mailto URLs in the wild often count on the plus being interpreted as a space.
So, is this a bug in Open Office then? They should be percent encoding plus signs in filenames?
I believe so. More specifically, the script senddoc.sh.
Though gnome-gmail's handling of escapes could use a closer look.
I will file a bug with Libre Office, it seems they do try to percent encode the filename, but the program /usr/lib/libreoffice/uri-encode doesn't transmogrify plus signs.
In the meantime, and perhaps to avoid future problems, would it be possible for GG to do a double check for an incorrectly URI encoded filename before popping up the "File not found" error?
It turns the plus sign into a space. To replicate:
I do not experience this bug when I rename the file "foo&bar".