Skip to content

Postgres password authentication issue when Postgres Password contains special characters again #16319

Closed
@djmcgreal-cc

Description

@djmcgreal-cc

Like #15954, some special characters need to be encoded. Coder tries to do this but fails with a misleading error message when the password includes a '?' character. Instead of matching net/url: invalid userinfo, the error is invalid port "%s" after host.

URL encoding beforehand fixes this issue, but if coder wanted to continue to be helpful in this way it could conceivably try to handle this case too.

Metadata

Metadata

Assignees

Labels

need-helpAssign this label prompts an engineer to check the issue. Only humans may set this.s2Broken use cases or features (with a workaround). Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions