Skip to content
Snippets Groups Projects
Commit bb337009 authored by Administrator's avatar Administrator
Browse files

entrypoint.sh cleanup

parent 6816bbb3
No related branches found
No related tags found
No related merge requests found
Pipeline #409 passed with stage
in 4 seconds
......@@ -3,12 +3,10 @@
urlencode() {
python - <<END
from urllib.parse import quote
import urllib
import os
from urllib.parse import urlencode
api_host = os.environ.get('CHE_API_EXTERNAL')
# double-encode url
print(urllib.parse.quote(urllib.parse.quote(api_host, safe=""), safe=""))
print(quote(quote(api_host, safe=""), safe=""))
END
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment