Skip to content

Incomplete DSN pattern #160

Closed
Closed
@schroedan

Description

@schroedan

The DSN pattern /^(?:(\w+):)?\/\/(\w+)@([\w\.]+)(?::(\d+))?(\/.*)/ does not match DSNs like http://user:pass@some-example-domain.com/path

A better pattern would be /^(?:(\w+):)?\/\/([\w:]+)@([\w\-\.]+)(?::(\d+))?(\/.*)/ to accept the password and the dash in the DSN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions