Skip to content

Commit 6300415

Browse files
authored
Don't escape POSTGRES_URI_ARGS (#89)
1 parent 93bda9d commit 6300415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Get() *cfg {
2525
config.PostgresHost = utils.MustGetEnv("POSTGRES_HOST")
2626
config.PostgresUser = url.PathEscape(utils.MustGetEnv("POSTGRES_USER"))
2727
config.PostgresPass = url.PathEscape(utils.MustGetEnv("POSTGRES_PASS"))
28-
config.PostgresUriArgs = url.QueryEscape(utils.MustGetEnv("POSTGRES_URI_ARGS"))
28+
config.PostgresUriArgs = utils.MustGetEnv("POSTGRES_URI_ARGS")
2929
config.PostgresDefaultDb = utils.GetEnv("POSTGRES_DEFAULT_DATABASE")
3030
config.CloudProvider = utils.GetEnv("POSTGRES_CLOUD_PROVIDER")
3131
})

0 commit comments

Comments
 (0)