Skip to content

Commit

Permalink
HOTFIX: Convert encoded HTTP connection variables to http type not ht…
Browse files Browse the repository at this point in the history
…tps (#3624)
  • Loading branch information
AetherUnbound authored Jan 4, 2024
1 parent 7373770 commit 82ad0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ while read -r var_string; do
echo " Old Value: $old_value"
# call python to url encode the http clause
url_encoded=$(python -c "from urllib.parse import quote_plus; import sys; print(quote_plus(sys.argv[1]))" "$old_value")
# prepend https://
new_value='https://'$url_encoded
# prepend http://
new_value='http://'$url_encoded
echo " New Value: $new_value"
# set the environment variable
export "$var_name"="$new_value"
Expand Down

0 comments on commit 82ad0de

Please sign in to comment.