drizzle-team / drizzle-team/drizzle-orm

[BUG]: When using database url to connect to postgresql (supabase), the url breaks if there unencoded entities in the password.

Open
#4,010 3 comments 0 reactions 0 assignees View on GitHub
drizzle/kit improvement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

0.38.3

### What version of `drizzle-kit` are you using?

0.30.1

### Other packages

_No response_

### Describe the Bug

What is the undesired behavior?
Connection to supabase fails after replacing password in the connection url.

For example if the password contains “#”, it has to be converted to “%23”.

What is the desired result?
The desired result is that the encoding happens automatically under the hood.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.