We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4338afd commit 3ad351eCopy full SHA for 3ad351e
functions/go-mongo/main.go
@@ -37,7 +37,7 @@ func init() {
37
panic("MONGO_USER is required")
38
}
39
40
- mongoPassword := url.PathEscape(os.Getenv("MONGO_PASSWORD"))
+ mongoPassword := url.QueryEscape(os.Getenv("MONGO_PASSWORD"))
41
if mongoPassword == "" {
42
panic("MONGO_PASSWORD is required")
43
0 commit comments