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

[BUG]: database url not parsing password properly #2380

Closed
skusez opened this issue May 26, 2024 · 1 comment
Closed

[BUG]: database url not parsing password properly #2380

skusez opened this issue May 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@skusez
Copy link

skusez commented May 26, 2024

What version of drizzle-orm are you using?

0.30.10

What version of drizzle-kit are you using?

0.21.4

Describe the Bug

Creating random secure passwords using openssl is pretty common

openssl rand -base64 32

e.g result: 1kgABjxw/K6lg/jsjztzsK0FD8dVgUDxwo03ovjGinc=

The "/" character seems to break the way passwords get parsed.

Took me a while scratching my head wondering what was happening. The error that gets thrown from drizzle-kit: 'ERR_INVALID_URL'

Expected behavior

Password should be parsed successfully or clearer error message

Environment & setup

No response

@skusez skusez added the bug Something isn't working label May 26, 2024
@AndriiSherman
Copy link
Member

This issue is from driver and not drizzle. Please create this issue on a driver gihub page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants