[Libreoffice-commits] core.git: shell/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 24 14:16:51 UTC 2019


 shell/source/unix/misc/senddoc.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1c03df6e82e4bf30294fc0b9e64de5cc39efc5c4
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon Sep 23 21:10:59 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 24 16:15:49 2019 +0200

    tdf#127710: fix sending documents to Claws Mail
    
    Thanks to the Paul's (paul at claws-mail.org) contribution
    
    Change-Id: Ie4144ab78691b33d8d341d4520c40c56010a0dd8
    Reviewed-on: https://gerrit.libreoffice.org/79423
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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
                     ;;
                 *)


More information about the Libreoffice-commits mailing list