Skip to content

Commit 81c7adb

Browse files
rozzablink1073
andauthored
JAVA-5811: Quote MONGODB_URI variable. (#628)
Co-authored-by: Steven Silvester <[email protected]>
1 parent cfa2a5a commit 81c7adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/auth_aws/aws_tester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def handle_creds(creds: dict):
258258
if key in ["USER", "PASS", "SESSION_TOKEN"]:
259259
value = quote_plus(value) # noqa: PLW2901
260260
fid.write(f"export {key}={value}\n")
261-
fid.write(f"export MONGODB_URI={MONGODB_URI}\n")
261+
fid.write(f'export MONGODB_URI="{MONGODB_URI}"\n')
262262

263263

264264
def main():

0 commit comments

Comments
 (0)