Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

HOTFIX: Convert encoded HTTP connection variables to http type not https (#3624)

Madison Swain-Bowden82ad0de83387
diff --git a/catalog/entrypoint.sh b/catalog/entrypoint.sh
index 1ff101d75..24d199d92 100755
--- a/catalog/entrypoint.sh
+++ b/catalog/entrypoint.sh
@@ -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"