From e8933e4ad99ee7ccc50ef8fa111a3e03c132d5e6 Mon Sep 17 00:00:00 2001 From: Katy Baulch <46493669+katybaulch@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:49:50 +0000 Subject: [PATCH] Double quote to prevent globbing/word splitting --- scripts/testing/get-all-documents | 2 +- scripts/testing/get-all-families | 2 +- scripts/testing/get-config | 2 +- scripts/testing/get-family | 2 +- scripts/testing/search-families | 2 +- scripts/testing/update-family | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/testing/get-all-documents b/scripts/testing/get-all-documents index 1fc93847..2eb1dc84 100755 --- a/scripts/testing/get-all-documents +++ b/scripts/testing/get-all-documents @@ -5,4 +5,4 @@ source config TOKEN=$(get_token) curl -s \ -H "Authorization: Bearer ${TOKEN}" \ - ${TEST_URL}/api/v1/documents + "${TEST_URL}"/api/v1/documents diff --git a/scripts/testing/get-all-families b/scripts/testing/get-all-families index 43275d67..85e50d65 100755 --- a/scripts/testing/get-all-families +++ b/scripts/testing/get-all-families @@ -5,4 +5,4 @@ source config TOKEN=$(get_token) curl -s \ -H "Authorization: Bearer ${TOKEN}" \ - ${TEST_URL}/api/v1/families | jq + "${TEST_URL}"/api/v1/families | jq diff --git a/scripts/testing/get-config b/scripts/testing/get-config index d2607ace..0bb1de59 100755 --- a/scripts/testing/get-config +++ b/scripts/testing/get-config @@ -5,4 +5,4 @@ source config TOKEN=$(get_token) curl -s \ -H "Authorization: Bearer ${TOKEN}" \ - ${TEST_URL}/api/v1/config | jq + "${TEST_URL}"/api/v1/config | jq diff --git a/scripts/testing/get-family b/scripts/testing/get-family index 2a403444..3b023e24 100755 --- a/scripts/testing/get-family +++ b/scripts/testing/get-family @@ -5,4 +5,4 @@ source config TOKEN=$(get_token) curl -s \ -H "Authorization: Bearer ${TOKEN}" \ - ${TEST_URL}/api/v1/families/CCLW.family.1002.0 | jq + "${TEST_URL}"/api/v1/families/CCLW.family.1002.0 | jq diff --git a/scripts/testing/search-families b/scripts/testing/search-families index dee0475f..6b96833d 100755 --- a/scripts/testing/search-families +++ b/scripts/testing/search-families @@ -6,4 +6,4 @@ TOKEN=$(get_token) curl -s \ -H "Authorization: Bearer ${TOKEN}" \ - ${TEST_URL}/api/v1/families/?q=$* | jq + "${TEST_URL}"/api/v1/families/?q="$*" | jq diff --git a/scripts/testing/update-family b/scripts/testing/update-family index 4ce9ca37..753119cb 100755 --- a/scripts/testing/update-family +++ b/scripts/testing/update-family @@ -7,4 +7,4 @@ TOKEN=$(get_token) curl -s -X PUT --data @family \ -H "Authorization: Bearer ${TOKEN}" \ -H "Content-Type: application/json" \ - ${TEST_URL}/api/v1/families | jq + "${TEST_URL}"/api/v1/families | jq