File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 33
33
# - remove url_encode, test for invalid chars n throw error instead
34
34
#
35
35
# CHANGELOG:
36
+ # 2.5.2 (30.11.2023)
37
+ # - bug #139: "ampersand (&) in gpg passphrase breaks gpg tests"
38
+ #
36
39
# 2.5.1 (4.10.2023)
37
40
# - quotewrap only strings with quotes ('") or spaces from now on
38
41
# - add --verbosity only if set in profile conf
@@ -553,7 +556,7 @@ function lookup {
553
556
ME_LONG=" $0 "
554
557
ME=" $( basename $0 ) "
555
558
ME_NAME=" ${ME%% .* } "
556
- ME_VERSION=" 2.5.1 "
559
+ ME_VERSION=" 2.5.2 "
557
560
ME_WEBSITE=" https://duply.net"
558
561
559
562
# default config values
@@ -1319,7 +1322,7 @@ function qw { quotewrap $@; }
1319
1322
function quotewrap {
1320
1323
local param=" $@ "
1321
1324
# 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
1323
1326
echo " $param " | awk ' {\
1324
1327
gsub(/[\047]/,"\047\\\047\047",$0);\
1325
1328
gsub(/[\042]/,"\047\\\042\047",$0);\
You can’t perform that action at this time.
0 commit comments