Skip to content

Commit

Permalink
fix another urlparse
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 11, 2023
1 parent 7354ba2 commit 74f9e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ functions:
silent: true
script: |
cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
alias urlencode='python3 -c "import sys, urllib as ul; sys.stdout.write(ul.quote_plus(sys.argv[1]))"'
alias urlencode='python3 -c "import sys, urllib.parse as ulp; sys.stdout.write(ulp.quote_plus(sys.argv[1]))"'
USER=$(urlencode ${iam_auth_ecs_account})
PASS=$(urlencode ${iam_auth_ecs_secret_access_key})
MONGODB_URI="mongodb://$USER:$PASS@localhost"
Expand Down

0 comments on commit 74f9e54

Please sign in to comment.