summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-09-23 21:10:59 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-10-05 14:08:10 +0200
commit95ddf1f58919608e29fdbe78080fbce4e5277f85 (patch)
tree1d5ea23cb2a2410528b0e098ac5b7ffbf7d1ef66
parent346611db99786bcbc3b3863f94ae3f9b1021d2f8 (diff)
tdf#127710: fix sending documents to Claws Mail
Thanks to the Paul's (paul@claws-mail.org) contribution Change-Id: Ie4144ab78691b33d8d341d4520c40c56010a0dd8 Reviewed-on: https://gerrit.libreoffice.org/79423 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 1c03df6e82e4bf30294fc0b9e64de5cc39efc5c4) Reviewed-on: https://gerrit.libreoffice.org/79460 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rwxr-xr-xshell/source/unix/misc/senddoc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index 372cee475fe2..394087156a74 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -349,7 +349,7 @@ case $(basename "$MAILER" | sed 's/-.*$//') in
shift
;;
--attach)
- ATTACH="${ATTACH:-}${ATTACH:+ }$2"
+ ATTACH=${ATTACH:-}${ATTACH:+,}$(echo "file://$2" | "${URI_ENCODE}")
shift
;;
*)