Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-06-02 00:43:09 +0300
committernachoparker <nacho@ownyourbits.com>2019-06-02 00:43:15 +0300
commit5de855ffecc49899a58d6078fb45afe42d3fe43a (patch)
tree24eb5b30d414d2bc6d34a8bef067b2febdce7b16 /etc
parent86f14ae2a7f64cced81d5c22c25515eb9a8d3f0d (diff)
ncp-web: avoid quotes in fieldsv1.13.1
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/library.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/library.sh b/etc/library.sh
index 1b41fe2c..7e124638 100644
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -62,7 +62,7 @@ function configure_app()
for (( i = 0 ; i < len ; i++ )); do
# check for invalid characters
- grep -q '[\\&#;`|*?~<>^()[{}$&[:space:]]' <<< "${ret_vals[$i]}" && { echo "Invalid characters in field ${vars[$i]}"; return 1; }
+ grep -q '[\\&#;'"'"'`|*?~<>^"()[{}$&[:space:]]' <<< "${ret_vals[$i]}" && { echo "Invalid characters in field ${vars[$i]}"; return 1; }
cfg="$(jq ".params[$i].value = \"${ret_vals[$i]}\"" <<<"$cfg")"
done