Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for usernames that contain the @ symbol #103

Closed
SaintRyoh opened this issue Dec 13, 2021 · 1 comment
Closed

Support for usernames that contain the @ symbol #103

SaintRyoh opened this issue Dec 13, 2021 · 1 comment

Comments

@SaintRyoh
Copy link

Hello, I would like to use dadbod to connect to a MSSQL server that has usernames in the format "username@website.com". The connection url doesn't currently seem to support having multiple '@' characters. It looks like the parsing of the url is done on line 44 of url.vim.
let match = matchlist(url, scheme . '://\%(\([^@/:]*\):\=\([^@/]*\)@\)\=\(\[[[:xdigit:]:]\+\]\|[^:/;,]*\)\%(:\(\d\+\)\)\=\($\|/.*\)')
I don't mind working on this issue and making a pull request, but I'm unsure how/if you'd like to solve it.

thank you!

@tpope
Copy link
Owner

tpope commented Dec 13, 2021

URLs already have a solution for this: %40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants