urlencode :

This commit is contained in:
Adithya 2023-10-15 13:46:37 +05:30
parent 8c193fd7e3
commit 2731ba4a15
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -29,7 +29,7 @@ fi
TAGS="$(printf "${CONFIG}" | jq -r '.tags // empty')"
if [ -n "${TAGS}" ]; then
TAGS="q=$(echo ${TAGS} | sed -e 's/ /%20/g' -e 's/+/%2B/g' -e 's/-/%2D/g')&"
TAGS="q=$(echo ${TAGS} | sed -e 's/ /%20/g' -e 's/+/%2B/g' -e 's/-/%2D/g' -e 's/:/%3A/g')&"
fi
CATEGORIES="$(printf "${CONFIG}" | jq -r '.categories // empty')"