Skip to content

escaping password for Postgress connection #301

@jnoortheen

Description

@jnoortheen

I understand the reason behind this escaping, but this creates problem for passwords with special characters like get_escaped_command_arg("pass!word") -> "'pass!word'"

That extra pair of quotes make the command fail. Is it possible to remove the line of code safely?

Location of the code: dbbackup/db/postgresql.py:19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions