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