Skip to content

Commit 277f7b9

Browse files
edetersmitten
ede
authored andcommitted
release 2.5.2
1 parent 387c41e commit 277f7b9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

duply.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
# - remove url_encode, test for invalid chars n throw error instead
3434
#
3535
# CHANGELOG:
36+
# 2.5.2 (30.11.2023)
37+
# - bug #139: "ampersand (&) in gpg passphrase breaks gpg tests"
38+
#
3639
# 2.5.1 (4.10.2023)
3740
# - quotewrap only strings with quotes ('") or spaces from now on
3841
# - add --verbosity only if set in profile conf
@@ -553,7 +556,7 @@ function lookup {
553556
ME_LONG="$0"
554557
ME="$(basename $0)"
555558
ME_NAME="${ME%%.*}"
556-
ME_VERSION="2.5.1"
559+
ME_VERSION="2.5.2"
557560
ME_WEBSITE="https://duply.net"
558561

559562
# default config values
@@ -1319,7 +1322,7 @@ function qw { quotewrap $@; }
13191322
function quotewrap {
13201323
local param="$@"
13211324
# quote strings having non word chars (e.g. spaces)
1322-
if echo "$param" | awk '/[\047\042 ]/{exit 0}{exit 1}'; then
1325+
if echo "$param" | awk '/[^a-zA-Z0-9,\._\+\-@%\/]/{exit 0}{exit 1}'; then
13231326
echo "$param" | awk '{\
13241327
gsub(/[\047]/,"\047\\\047\047",$0);\
13251328
gsub(/[\042]/,"\047\\\042\047",$0);\

0 commit comments

Comments
 (0)